How to remove the theme photo from the subpages?

  • Unknown's avatar

    Hello,

    I chose The Karuna Theme for my website. Now I would like only to have the theme photo in my home page and not the other sub-pages.

    I used the below addition but it deleted the theme photo from all pages including the home page.

    .custom-header {
    display: none;
    }

    Is there anyway where I can keep my theme photo only for the home page and possibly add a text box to write on it in the home page?

    Thanks

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

  • Unknown's avatar

    Hi, this code should get rid of the header image on every page except your home page. Copy it into the CSS section of the customiser and remove what you currently have.

    .site-header .size-karuna-hero,
    .custom-header {
    	display: none;
    }
    body.home .site-header .size-karuna-hero,
    body.home .custom-header {
    	display: block;
    }
  • The topic ‘How to remove the theme photo from the subpages?’ is closed to new replies.