Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #334487
    Glen Pavelich
    Participant

     

    .home #content article .entry-title {
    display: none;
    }

    I was given the above in the past, but this hides all entry titles.  How can I simply hide home.

    #334489
    Sakin
    Keymaster

    Hi Glen,

    Please try the following CSS instead:

    .home .site-main .entry-header { display: none; }

    Regards,
    Sakin

    #334526
    Glen Pavelich
    Participant

    Nope, unfortunately that also deletes the post headings which appear on the same page in the content section…(using widget postloop).  The code for the post titles show on inspect as (.home #content article .entry-title)

    The individual page headings remain however.

    Before

    After

    #334530
    Sakin
    Keymaster

    Hi Glen,

    I just checked your website and see that you have added a post inside the page, which is why it’s giving you an issue. We need to display the post title on the page. So, you need two CSS codes. Please add the following:

    .home .site-main .entry-header { display: none; }
    .home .site-main .entry-content .entry-header { display: block; }

    Regards,
    Sakin

    #334844
    Glen Pavelich
    Participant

    Excellent.  Thank you.

     

    G

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hiding Home’ is closed to new replies.