WordPress.org

Forums

Customizr
[resolved] Remove title from page not post (7 posts)

  1. questas_admin
    Member
    Posted 11 months ago #

    I am using the following snippet to remove the PAGE TITLES, but is there a way to allow POST TITLES to show. This is blocking both. I don't want page titles, I do want post titles.

    h1.entry-title, h2.entry-title {

    width: 100%;

    display: none;
    }

  2. rdellconsulting
    Member
    Posted 11 months ago #

    Try:

    .page h1.entry-title, .page h2.entry-title {
    width: 100%;
    display: none;
    }
  3. questas_admin
    Member
    Posted 11 months ago #

    That doesn't seem to work. hmm
    would this work? but what setting should I give the display?

    .post h1.entry-title, .page h2.entry-title {
    width: 100%;
    display: ???;
    }

  4. questas_admin
    Member
    Posted 11 months ago #

    I tried using .post without a display setting and using "inline:" but those dont work. It's not a huge deal as I can put a title in the post itself like I do with the pages, but it would be cool.

  5. deputy05
    Member
    Posted 11 months ago #

    Could try:
    display: inherit;

    [Edit] Did you realize you have a .post and a .page in the above code.

  6. questas_admin
    Member
    Posted 11 months ago #

    This is what worked. I used the "snippet/change-postpage-icon-title/" as a reference and took off the "format-icon"

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

  7. questas_admin
    Member
    Posted 11 months ago #

    Yea, I just noticed the page/post in that snippet. but the snippet in my previous post is working. No title on the pages, Yes titles on the posts.

Reply

You must log in to post.

About this Theme

About this Topic