Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9316
    cbtoolkit
    Member

    I want to hide the title for all pages but keep them for all blog titles.

    .entry-header {
    display:none;
    }

    Removes the header for pages and blog posts.

    #9321
    cbtoolkit
    Member

    For now I edited content-page.php directly and simply removed the code that places the entry header.

    I’ve backed up the page and made an updates log because I imagine I’ll need to re-do this when they theme is updated in the future.

    If there is another way, that would be great.

    #9350
    Sakin
    Keymaster

    @cbtoolkit: When you change any core file. You need to build child theme and then edit. This will prevent you loose any change while you update.

    Can you show me where you can to display the URL. So, that I can send you the css to show only on that page.

    #9363
    cbtoolkit
    Member

    @Sakin: I should use a child theme.. was being lazy. Your other answer tipped me off. I was able to get rid of it using:

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

    #9364
    Sakin
    Keymaster

    @cbtoolkit: That’s great 🙂

    #13712
    janetSchaper
    Member

    This is awesome, thank you so much for posting this. I had the same problem.

    #13716
    jamosweb
    Participant

    Perfect it works. Thanks for this hint.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Hide page title but not blog title’ is closed to new replies.