Jump to content


Photo

How do I remove the page title on certain pages?


  • Please log in to reply
8 replies to this topic

#1 danoah

danoah

    Super Member

  • Members
  • 132 posts

Posted 14 August 2011 - 02:18 PM

How do I remove the page title on certain pages? For example, on my home page. I don't want it to say Home on that page, but on every other page I want the titles to show up automatically (which I have that setting set).

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 14 August 2011 - 03:26 PM

It's possible with CSS. Can you post a link to your home page?

#3 danoah

danoah

    Super Member

  • Members
  • 132 posts

Posted 14 August 2011 - 03:34 PM

Hey, the blog I'm building is at http://buildblog.danoah.com. Thanks!

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 14 August 2011 - 03:39 PM

Add this CSS, please:
 body.home #post-163 h1.pagetitle {display: none;}


#5 danoah

danoah

    Super Member

  • Members
  • 132 posts

Posted 14 August 2011 - 09:40 PM

You're a rockstar. Thank you.

#6 kkjaerbye

kkjaerbye

    Member

  • Members
  • PipPip
  • 12 posts

Posted 17 August 2011 - 01:50 PM

Hi, I was hoping that this would help me but unfortunately at hasn't got any effect. My blog is on a local server (intranet) which is why I can't provide you with a link. The page is called "forside" (which means home) but changing it in the CSS has no effect. Can anyone be at service? Any help is much appreciated. Thanks in advance.

#7 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 17 August 2011 - 06:30 PM

Have you adjusted the code above to match the page ID on your site by specific number?

#8 kkjaerbye

kkjaerbye

    Member

  • Members
  • PipPip
  • 12 posts

Posted 18 August 2011 - 01:34 PM

Hi, found the problem. I had written: body.forside #post-337 h1.pagetitle {display: none;} which should be replaced with body.home #post-337 h1.pagetitle {display: none;}

#9 tandan

tandan

    Super Member

  • Members


  • 152 posts
  • LocationNew York
  • Country: Country Flag

Posted 08 February 2012 - 10:12 PM

hi there, can you explain to me the syntax rules you're using to come up with this css? this may help me figure out other CSS changes... I use firebug but it seems really difficult to find the right selector easily with Pagelines. Thanks! Tan