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)
-   -   [SOLVED] Suppress page title on an individual page. (http://forum.bytesforall.com/showthread.php?t=15677)

gnosis Oct 17, 2011 07:02 AM

[SOLVED] Suppress page title on an individual page.
 
How to suppress (do not want to display) the page title on an individual page?

juggledad Oct 17, 2011 07:39 AM

easiest way is to used CSS with a 'display:none' on the element. Check the page source and start the CSS selector with 'body.page-id-nn....' where nn= the page ID

gnosis Oct 17, 2011 08:32 AM

Thank you.

According to my web developer toolbar element is:

ul, ol, dl, p, h1, h2, h3, h4, h5, h6 (line 143)
div.post-headline h1, div.post-headline h2 (line 143)

Page ID is:
103


So should I go into:
Appearance=>Atahualpa Theme Options=>Add HTML/CSS inserts?

If so, I assume I should add to CSS inserts.

Should the formatting be:
div.post-headline h1-103
display:none

gnosis Oct 17, 2011 08:43 AM

This works:


div.post-headline h1, div.post-headline h2{
display:none }

but for all pages

how to add selector:
body.page-id-103

gnosis Oct 17, 2011 09:17 AM

Figured it out:


body.page-id-103 div.post-headline h1, div.post-headline h2{
display:none }

Thank you.


All times are GMT -6. The time now is 12:52 AM.

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