Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Posts
    248
    Plugin Contributions
    0

    help question Remove Sideboxes, Header and Footer from ONE page only?

    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
    HandcraftedUk - Unique Gifts

  2. #2
    Join Date
    Mar 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Remove Sideboxes, Header and Footer from ONE page only?

    Quote Originally Posted by HandcraftedUK View Post
    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
    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.
    Last edited by AmirGTR; 27 Jul 2010 at 07:11 AM.

 

 

Similar Threads

  1. Remove sideboxes only from Homepage
    By directpc in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Apr 2013, 10:21 PM
  2. Remove, header title from home page only
    By Petlife in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Mar 2011, 09:49 PM
  3. Remove logo header from index page only
    By acreativepage in forum General Questions
    Replies: 7
    Last Post: 15 Aug 2009, 08:08 PM
  4. header, footer, sideboxes, link from different directory
    By greatbig47 in forum General Questions
    Replies: 0
    Last Post: 11 Oct 2006, 10:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg