Child Page Titles

  • Anonymous

    #1733

    I’m going to be changing the Child pages (or Sub Pages what ever you want to call them)on my site and I don’t want the page titles showing.

    Is there a way to do this while keeping the title on the other pages as they are?

    Matt

    Jon Lynch

    #17011

    Try adding .child-page .post-title{display:none;} to your custom css or child theme css.

    Jon

    matty2809

    #17012

    i tried that literally about a minute before you posted.

    All it did was hide the title of page in the excerpt when it is shown on the parent page.

    I’m beginning to think the best way maybe to create a “page” template file in the child theme – just seems like a lot of work

    *EDIT*

    Forgot to say thanks for your post

    Jon Lynch

    #17013

    try also adding .page-child .post-title{display none;} that should remove the titles on the single pages.

    You are welcome

    matty2809

    #17014

    haha it works.

    Thanks very much. I knew it would be something simple but i couldn’t see what.

    It’s amazing what you can do when you re-arrange a couple of words.

    Matt

    Jon Lynch

    #17015

    Firebug is your friend, have a look at all the classes applied to your post and the body, you can normally find a class that will select the type of posts you would like to apply your style to.

    matty2809

    #17016

    Cheers, I think I better start using Firebug. I’m not even sure why I haven’t already got it.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!