• Resolved jimithing007

    (@jimithing007)


    Hello,

    I am reworking a site with your theme. I have entered the below under Additional CSS to remove all header text and containers from pages:

    .entry-header {
    display: none; }

    This accomplishes what I want, which is to remove the headers everywhere. However this also removes the headers from blog posts, which I don’t want. Is there a line of code I can use to remove all headers except for blog posts?

    I know my other option would be to remove the header for all the individual pages using pageid or something similar, but I’m wondering if there was a more efficient way.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jimithing007,

    Did you mean you would like to remove the Site Header, this one, from the entire site but the Blog posts? Does the code work, because I still see the Site Header on the entire site.

    Meanwhile, the custom codes in this doc and this one can give you an idea to achieve your goal.

    I hope it helps.

    Kind regards,
    Herman 🙂

    Thread Starter jimithing007

    (@jimithing007)

    Hello Herman,

    The header I’m looking to remove is where it just states the title of the page at the top, below the site logo and menu (like “Home” for the home page, “Contact” for the Contact page, etc.).

    I wound up putting the CSS code with the page id in the Additional CSS section:

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

    Since I am removing the header on each page besides the blog page, I just have a different line of code for each page (except the blog page of course). That is working well but if you think there’s a more efficient way I am interested in your thoughts :). I’d prefer a CSS route if possible, as I don’t have any experience modifying theme files so I’m a little hesitant.

    Hi @jimithing007,

    So, what you would like to remove is the Page Title. Am I right? Why don’t you disable it from Astra Meta Settings? You can also do it in bulk by using our Astra Bulk Edit plugin.

    I hope it will help.

    Kind regards,
    Herman 🙂

    Thread Starter jimithing007

    (@jimithing007)

    Thank you! That’s good to know. I found the spot in the Meta Settings, under Pages. Seems to work great. Thanks!

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

The topic ‘Remove headers except for blog posts?’ is closed to new replies.