Can't fit hero image properly when in Fullscreen (Refresh)

We’re getting ready to launch a custom landing page for a giveaway: https://www.pelene.net/pages/pelene-na-36-novogodisnjem-decijem-sajmu

However, there’s an issue with the Hero image only when in fullscreen mode:

The theme in question is Refresh.

On mobile & desktop it looks great:

Any help would be appreciated!

Thanks.

1 Like

Hi @StefanZ

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 989px){
.slideshow__media.banner__media.media img {
    object-fit: inherit;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @StefanZ

Please add this code to Custom CSS of that section in Online Store > Themes > Customize > Pages > open that page template

@media (min-width: 990px) {
img { object-fit: fill; }
.slideshow__slide { min-height: 725px; }
}

1 Like