PDA

View Full Version : How to show some footer HTML on every page except one.


Speedie
Oct-30-2007, 08:08 AM
Hi,
I have a specific bit of HTML in the footer section that I want to appear throught my site, except for one page where I want to hide it. Can someone advise the necessary code? Many thanks.

Allen
Oct-30-2007, 08:37 AM
Hi,
I have a specific bit of HTML in the footer section that I want to appear throught my site, except for one page where I want to hide it. Can someone advise the necessary code? Many thanks.
What graphic? What page?

If this one.

.gallery_xxxxxxxxxx #my_graphic_bottom {display: none;}

Speedie
Oct-30-2007, 09:01 AM
Hi Allen,
That's great many thanks. It was the free gift graphic right at the bottom of my site - I wanted to hide it on the free gift page itself (incentive for mailing list sign-up). I tweaked your code to:

.gallery_3733902 #freegift {display: none;}

And put the HTML inside a div with id="freegift" and that did it. (I'm a slow learner but now getting the hang of how CSS can control the HTML). Once again many thanks for all your time.