Theme : Hever remove gray line between header and body parts

  • Unknown's avatar

    Hey there,
    I tried removing it with a tone of additional css but nothing seemed to work for me, if I check the elements on chrome there isn’t nothing that is actually adding that slim grey line, which can be quite infuriating.
    Appreciate any help you may offer
    Kind regards

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

  • Hi there,

    The website you’ve posted is using the open-source WordPress.org and this forum is for the hosted WordPress.com platform. They’re very similar, but two separate things.

    https://wordpress.com/support/com-vs-org/

    That said, the thin line between is in the <h1 class="entry-title">HOME</h1> element. The <::before></::before> and <::after></::after> pseudo elements are the grey lines. You can see these if you inspect the element.

    I would suggest trying to remove the elements using some CSS.

    https://stackoverflow.com/questions/3012716/css-how-to-remove-pseudo-elements-after-before

    Something like

    h1.entry-title:before, h1.entry-title:after {
    content: none;
    }

    should work.

    If you have any other questions, I would suggest posting in the WordPress.org forums.

    https://wordpress.org/support/forums/

    I hope that helps :)

    Cheers,
    Eric

  • Hi there,

    The code Eric gave above isn’t working for me, so I took another look. Try this instead:

    .singular .hentry .entry-header .entry-title::before, .singular .hentry .entry-header .entry-title::after, .page-title::before, .page-title::after {
      background: none;
    }


    @ericfri
    ,

    Please note that Hever is made by us on WordPress.com, and doesn’t have its own subforum on WordPress.org as it’s not available in the WordPress.org theme showcase. So this forum is the correct place to help people with Hever, regardless whether or not they’re hosted on WordPress.com.

    If they post in the general WordPress.org forums they’ll just be referred back to support for their theme.

  • @kokkieh

    Please note that Hever is made by us on WordPress.com, and doesn’t have its own subforum on WordPress.org as it’s not available in the WordPress.org theme showcase. So this forum is the correct place to help people with Hever, regardless whether or not they’re hosted on WordPress.com.

    If they post in the general WordPress.org forums they’ll just be referred back to support for their theme.

    Thanks for letting me know :)
    Is it the same for all themes made by WordPress.com?
    Also, is there an easy way for me to tell which theme people are using without them explicitly saying so?

    Cheers,
    Eric

  • Hi there,

    Is it the same for all themes made by WordPress.com?

    No it can vary case-by-case. When in doubt you’re welcome to ask here first and if there is a forum dedicated to the theme we can point you there, or answer here if there is not one.

    Also, is there an easy way for me to tell which theme people are using without them explicitly saying so?

    It can be difficult to find, but the technique we use here on staff is to examine the source code of the site, and the use the search function in the browser to look for the word “theme” in the source code. Generally if you search for that word in the source code (and it’s a WordPress site) you will find something like this listed:

    Click to view image

    In the example above (from soulfoodwithmichelle.com) is a tiny bit more confusing that most because Hever is a “child theme” of Varia, a starter theme we use for build variations (like Hever) from.

    That is the technique I like to use, but to be fair, any of the methods mentioned here would also work: https://www.google.com/search?q=find+out+what+theme+a+wordpress+site+is+using

    Hope that helps. Please let us know if you have any more questions.

    Hope that helps!

  • The topic ‘Theme : Hever remove gray line between header and body parts’ is closed to new replies.