Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Remove header images from all but static home page ? (http://forum.bytesforall.com/showthread.php?t=18434)

Paul33 Sep 20, 2012 04:49 PM

[SOLVED] Remove header images from all but static home page ?
 
I know this has come up before but solutions seem to vary and I can't find one that works for me !

I'm using Ver 3.7.8 and latest WP and I only want the header image(s) on the static home page that I have. My site will be made up solely of pages and no posts and I don't want the header image(s) on any of the other pages.

How do I do this ?

lmilesw Sep 20, 2012 06:38 PM

The idea is to set display:none to the header image and then after that use display:block for the header image on the page you want it to show on. It might look something like
HTML Code:

#imagecontainer {display:none;}
body.home #imagecontainer {display:block;}

where you want to have the image on the home page

Paul33 Sep 21, 2012 01:06 AM

Sorry for my ignorance but exactly where do I insert this code ?

juggledad Sep 21, 2012 04:00 AM

Put it in the CSS inserts option

Paul33 Sep 21, 2012 05:09 AM

Thank you - job done - works great !


All times are GMT -6. The time now is 08:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.