Keep Background Image Header on Home Page Only and Remove from Rest of Website

NapitWPTech Theme Support Forums Masonry Brick Keep Background Image Header on Home Page Only and Remove from Rest of Website

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Bishal Napit 6 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #427

    KeyStroke
    Participant

    Hello I am looking to keep the header image on the home page only and remove it from the rest of the website. You had previously provided me with

    .header-background-image {
    display: none;
    }

    Which works but unfortunately removes it from all of the pages. Is there a code I can use that will keep it on the home page but not on the others?

    #430

    Bishal Napit
    Keymaster

    Hi KeyStroke,

    Can you once also try the below CSS code in the Additional CSS Box provided via the Customizer Options and check:-

    .home .header-background-image {
    	display: block;
    }

    Thanks.
    Bishal Napit

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.