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] Excluding header on certain pages (http://forum.bytesforall.com/showthread.php?t=7441)

rosetrees Jun 5, 2010 02:29 AM

[SOLVED] Excluding header on certain pages
 
Is there a way of excluding the header (image, menubars etc) from individual pages? I know in the theme options I can choose which pages to display sidebars on, but I'm wondering if there is a way of having a fairly plain page, with no sidebars and none of the headers.

Thanks

juggledad Jun 5, 2010 04:21 AM

If you want to prevent the header area from displaying on a certian PAGE you can use a CSS Insert
HTML Code:

body.page-id-xxxx #header {display:none;}
where the xxxx is the page ID of your page.

For a category page you could use
HTML Code:

body.category-xxxx #header {display:none;}
is the name of the category

rosetrees Jun 5, 2010 08:09 AM

Perfect. Thanks Juggledad.


All times are GMT -6. The time now is 02:23 AM.

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