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 many pages (http://forum.bytesforall.com/showthread.php?t=21073)

stevesien Oct 29, 2013 08:30 PM

[SOLVED] Remove header images from many pages
 
Hi I found this on an old post to remove image container from a page.

HTML Code:
.page-id-572 #imagecontainer {
display: none;
}

But I have 50 pages I wish to not show the images on, do I need to put this code in 50 times?

Thanks
Steve

lmilesw Oct 29, 2013 09:18 PM

You either have to do display none on all the pages you don't want the header to show or hide the header on all pages and then make it show on the pages you do. It all depends on which has fewer pages.

stevesien Oct 29, 2013 11:41 PM

Agh ok,
Makes perfect sense, I'll give it a shot.
Thanks

stevesien Oct 30, 2013 02:41 AM

Ok it worked, here is what I did in html/css inserts

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

div#imagecontainer {display:none;}

thanks


All times are GMT -6. The time now is 03:39 PM.

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