Hiding Page Titles with CCS

  • Unknown's avatar

    I currently use the Gateway theme and wanted to hide some of my page titles.

    I used the css code:

    .page-id-0 .entry-title {display: none;}

    Which works perfectly (least for the page title). On the pages that I’ve used this code I also use the “Blog Post” Block and realised it also hides the Post Titles on this Block as well, which was not the result I was expecting. Is there any way to only hide the title on the main page and not the post titles if using the Post Block?

    The blog I need help with is: (visible only to logged in users)

  • Hi! Nice site. I’m guessing you just need to get more specific with the CSS. Can you share a link to an affected page, that currently should have post titles showing?

  • Unknown's avatar

    Thank you for replying. I’ve since played around with the code a bit more and think I’ve figured it out by using header-title instead of page-title.

  • The topic ‘Hiding Page Titles with CCS’ is closed to new replies.