• Resolved TheRetirementCommunity

    (@weliveinthismoment)


    Hello,

    When I am at the main page. I click on a post, in this test, the image of the fish. It brings up a large picture of the fish on the page that shows the content. I am looking to completely remove any type of header image on pages other than my main landing page. Is this possible? I would like it to start the page with the writing without having to scroll past an image. This is my first website

    Thank you

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi weliveinthismoment,

    To remove the header image from from single pages there are two ways:-
    1. Using CSS: Just put the following CSS into your Additional CSS (Appearance -> Customize -> Additional CSS)

    body:not(.home) .header #primary {
    background: none !important;
    }

    2. Applying condition to show header image only on home in template after creating Child Theme and overriding the template inside it:-

    Create a child theme of your current theme “hestia” and override the template file “template-tags.php” on same path i.e. now this file will also be at the path “…\wp-content\themes\hestia-child\inc\template-tags.php”.
    Now use the WordPress function is_home() to enable header image only on home page.

    Please use any of these solution which you find easier and I hope your requirement will be fulfilled.

    Thread Starter TheRetirementCommunity

    (@weliveinthismoment)

    Great Thank you!

    It’s my pleasure.
    Please close this topic as resolved by replying and ticking the checkbox “Reply and mark as resolved” at the bottom of the post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing header on posts’ is closed to new replies.