Support » Theme: GivingPress Lite » How to disable the banner images on other pages

  • How can I disable the banner image from other pages? I want to keep it only for the home page and for other pages I don’t need it. Thanks for looking into it, appreciate your help.

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

Viewing 1 replies (of 1 total)
  • Theme Author Organic Themes

    (@organicthemes)

    Hello,

    You could achieve this multiple ways.

    The first, you could edit the header.php file and change the following code from this:

    <?php if ( ! is_page() || is_home() || is_page() && ! has_post_thumbnail() ) { ?>

    To this:

    <?php if ( is_home() ) { ?>

    Or, you could hide the header images on other pages using styles like this:

    .givingpress-lite-singular #header {
      display: none;
    }
    .home #header {
      display: block !important;
    }

    I hope this helps. Thanks!

    David

Viewing 1 replies (of 1 total)
  • The topic ‘How to disable the banner images on other pages’ is closed to new replies.