• Hi WordPress community!

    I would like to know if it is possible to show a different header in the home with CSS.

    I tried with this codes but didn’t work for me ??

    Thank you very much

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • @emiliogargar

    You can use the Customizer :
    https://support.competethemes.com/help/customize-header/

    or with CSS :
    Customizer –> Additional CSS :

    .site-header {
        background-image: url('https://campamentoweb.com/wp-content/uploads/2020/04/Parodia-SEO.png');
    }
    Moderator bcworkz

    (@bcworkz)

    Add the following to the Additional CSS panel of the customizer:

    .home .site-header {
        background-image: url("{image URL here}");
    }

    Using the URL of the image you actually want of course. This should override the default image you’ve set elsewhere on only the home page. If not, try adding the !important modifier (should normally be avoided if at all possible, but can work in a pinch).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing header only in home’ is closed to new replies.