HandcraftedUK:
Hi everyone,
Is anyone able to tell me how I go about removing the sideboxes, header and, the footer from only one page on my site? The page in question is page_2.html
My reason for doing so is that I am having a survey put onto that page and I don't want it to be TOO obvious that people have been directed to my sales site.
Many thanks,
Gary :smile:
HandcraftedUk - Unique Gifts
It's been 3 years since you asked but since this came up as the first result in my search, I'd just like to share the solution with anyone having similar difficulties.
All you have to do is to wrap your footer in something. Anything that'll go away with a "display: none" code. A table, a div, a span, whatever. Then make a separate css file for the page in question (usually easy if you're using define pages, just name it the same as the template and put it in the css folder) and set the class of that footer, sidebox, etc to none only in that css file. DONE.
Do it the exact opposite way, to add footers (or whatever) to a particular page. ie. set footer to display:none in stylesheet.css and display it in only that particular page. Just don't make the file too big cause a display none still loads up eventhough it's hidden. A big file may slow your page down which you can't really justify because it's not even showing up lol.