Ovation: No Banner on Some Pages

  • Author
    Posts
  • #142714

    bloodlust2019
    Member
    Original poster

    I’d like to no have the banner appear on some specific Site Pages. I like the banner appearing on the homepage but when someone displays a page with the trailer for my film, I don’t want the banner to appear. Is that possible?
    This is the homepage (I’m OK with a banner on this page).
    This is a page with the trailer (would like no banner on this page).

    An alternative would be to place the trailer video (I have two: a high-res and a low-res version) on a Post Page. That could work but currently the banner is displaying on those pages also.

    Thanks.

    The blog I need help with is: bloodlust.movie

    #142841

    thelukemcdonald
    Theme Author

    You can choose to hide the banner image on all pages other than the homepage using the following custom CSS:

    .custom-logo-link {
      display: none;
    }
    
    .home .custom-logo-link {
      display: inline-block;
    }

    I believe that should do what you are looking for. Let me know how it goes.

    #142855

    bloodlust2019
    Member
    Original poster

    Yes, that does work, thank you. It leaves a lot of space above where the banner was. Is there a way to close up all that wasted space?

    wasted space at top

    #142856

    thelukemcdonald
    Theme Author

    Maybe give this a shot instead:

    .site-identity {
      display: none;
    }
    
    .home .site-identity {
      display:block;
    }
    #142858

    bloodlust2019
    Member
    Original poster

    That did close up more space. It still leaves space, which to my mind is still too open. I can live with this but if you have any more ideas, I’ll try them out. Otherwise, Thanks!

    #143052

    bloodlust2019
    Member
    Original poster

    Let me ask this final question on this modification: I might like to put a (smaller) image on the other pages (leaving the normal banner set up for the homepage). If I just wanted to add a different image on _all_ the other pages, is that possible and how would I do it?

    #143373

    bloodlust2019
    Member
    Original poster

    So, I’d like to know if this is possible:
    If I just wanted to add a different image on _all_ the other pages, is that possible and how would I do it?

    #143470

    thelukemcdonald
    Theme Author

    That would require a bit of extra work. In short, you would need to upload the images to WordPress and copy the URL. You’d then need to get the page ID of the pages you’d like to add the image to and use the CSS background image property. This is a bit outside of theme support, however, you might try posting customization questions like these to the CSS Customization Forums.

    #143472

    bloodlust2019
    Member
    Original poster

    OK, thanks. I’ll check on that. It would only be on one page so I would only need to do that once.

The topic ‘Ovation: No Banner on Some Pages’ is closed to new replies.