Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   Don't want page title to show (http://forum.bytesforall.com/showthread.php?t=1038)

Frederick Mar 31, 2009 05:39 PM

Don't want page title to show
 
When I enter a name of a page so that it will appear on the tab, it also appears at the top of the page. How can I have it show on the tab only?
Thanks.

Flynn Mar 31, 2009 06:51 PM

Since 3.3 this can be done with a HTML/CSS Inserts -> CSS Insert

(Replace XX with the ID of the page)

HTML Code:

body#body-page-XX div.post-headline {
display: none;
}

For all pages (not just a specfic one)

HTML Code:

body.body-page div.post-headline {
display: none;
}

This is not perfect as the headline is still there, just not visible. Google might object to this. You can also try to move it off screen, this might be safer:

HTML Code:

body#body-page-XX div.post-headline {
margin-left: -9999em;
}

or

HTML Code:

body.body-page div.post-headline {
margin-left: -9999em;
 }


A PHP based solution is planned for one of the next releases

Frederick Mar 31, 2009 10:22 PM

Thank you, Flynn. I've installed 3.3 and now this works.
Frederick


All times are GMT -6. The time now is 03:45 AM.

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