Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

[SOLVED] Suppress page title on an individual page.


  #1  
Old Oct 17, 2011, 07:02 AM
gnosis
 
173 posts · May 2010
How to suppress (do not want to display) the page title on an individual page?
  #2  
Old Oct 17, 2011, 07:39 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 17, 2011, 08:32 AM
gnosis
 
173 posts · May 2010
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
  #4  
Old Oct 17, 2011, 08:43 AM
gnosis
 
173 posts · May 2010
This works:


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

but for all pages

how to add selector:
body.page-id-103
  #5  
Old Oct 17, 2011, 09:17 AM
gnosis
 
173 posts · May 2010
Figured it out:


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

Thank you.

Bookmarks

Tags
display

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to change individual page background w/ body.page-id- tikijj Center area post/pages 4 Sep 25, 2011 04:23 PM
[SOLVED] Can I suppress the Page Title but allow it to show up in the Menu bar? jstein Center area post/pages 5 Dec 19, 2010 12:16 PM
Individual page headers Webmason Center area post/pages 6 Nov 29, 2010 06:57 AM
Embedding php code on an individual page horsemansarts Plugins & Atahualpa 4 Sep 12, 2010 10:10 PM
How do you suppress/hide title tags in widgets? Wyro Sidebars & Widgets 2 Feb 28, 2010 05:05 PM


All times are GMT -6. The time now is 12:02 PM.


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