• Resolved vidb06

    (@vidb06)


    Hi,

    I want to display a full width hero image under the header throughout the website.
    There is a ‘enable hero section’ in the theme but I dont know whats its purpose.
    How to do it in Sinatra? Why doesn’t it have an option for this?
    Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Branko

    (@brankoconjic)

    Hello,

    Currently, the theme only supports “Hover Slider” for the hero section, which displays your recent blog posts.

    You would have to manually add a fullwidth section for each page on your site. If you are using the default WordPress editor (Gutenberg), you can do that with the “Cover” block.

    Screenshot.

    If you are familiar with coding, you can hook into sinatra_after_masthead action and add your own custom code.

    Thread Starter vidb06

    (@vidb06)

    ok, thanks

    EH

    (@ehabermas)

    What if I don’t necessarily want to do it on every page or post but rather simply edit the main hero image when you enable it via the theme?

    I’ve enabled it but there doesn’t appear to be any means to actually upload an image. It’s just black with text and title of most recent post.

    Branko

    (@brankoconjic)

    Hey @ehabermas,

    As I mentioned in my previous reply, the theme only supports “Hover Slider” for the hero section, which displays your recent blog posts. It does not have an option for a static hero image.

    If you want to modify the “Hero Hover Slider”, you can do that in template-parts/hero/hero-hover-slider.php file.

    • This reply was modified 4 years, 10 months ago by Branko.

    The Hero Hover Slider is great for showcasing a new post. Is there a recommended image size to utilize for post featured images within Sinatra that display nicely within the slider? Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add a hero image or banner image on Sinatra?’ is closed to new replies.