[Resolved] Page Titles and Entry Header Hidden But Post Titles Not

  • Author
    Posts
  • #15493

    ememk
    Participant

    I have used the following CSS to hide the page titles. I thought I could just unclick enable page titles in the page attributes, but that left a block of space at the top of every page. I don’t want the entry-header on pages, but I would like the post titles on both the posts and on the category pages. How can I accomplish that when using the following CSS doesn’t allow for any titles?

    .entry-header {
    display: none;
    }

    #15494

    Andrew Misplon
    Keymaster

    Hi, you can prefix the rule with .page to target pages.

    .page .entry-header {
    	display: none;
    }
    #15497

    ememk
    Participant

    Thank you. I should have thought of that.

    #15498

    Andrew Misplon
    Keymaster

    Glad to hear you’re making progress.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Scroll to top