Hi,
I am working on an HTML5 output with no predefined skin (selected none for skins).
I want to add a custom header and footer to the MasterPage so when the HTML5 site is published, the header and footers are already there.
I dont see any proxies to do this. Is there a way to add the HTML of the header and footers I want to the masterpage?
Thanks in advance
Add Custom Headers and Footers
-
- Propeller Head
- Posts: 11
- Joined: Mon May 15, 2017 5:07 am
Re: Add Custom Headers and Footers
Just write them as html in the masterpage, as long as your bodyProxy is in the right place, it'll all work!
-
- Propeller Head
- Posts: 11
- Joined: Mon May 15, 2017 5:07 am
Re: Add Custom Headers and Footers
Thanks.
I tried this with basic HTML and it worked as you said, but when my developer gave me HTML from our site, I got an invalid document error.
I suppose all the classes defined in the header and footer must be defined in my styles and not included in external style files that would be added after the HTML5 site is published?
I tried this with basic HTML and it worked as you said, but when my developer gave me HTML from our site, I got an invalid document error.
I suppose all the classes defined in the header and footer must be defined in my styles and not included in external style files that would be added after the HTML5 site is published?
Re: Add Custom Headers and Footers
No, you don't need to define a class for it to be declared. Your problem is likely that Flare is looking for a closing '/' in some elements. For example:
is acceptable HTML but flare insists on the following:
This is just HTML compatible XHTML and self-closing syntax tags.
Code: Select all
<link href="styles.css" rel="stylesheet" type="text/css">
Code: Select all
<link href="styles.css" rel="stylesheet" type="text/css" />
-
- Propeller Head
- Posts: 11
- Joined: Mon May 15, 2017 5:07 am
Re: Add Custom Headers and Footers
This is going to sound lame, but you were basically right, it was the / missing from <br> tags > <br />
Thanks for your help.
Thanks for your help.