Banner Collection page stop changing size

Hey, how are you?

I need the banner on my product page not to change sizes between desktop and mobile, i need them to look the same in both since tha banner we designed doesn’t work on the cropped mobile version. Here is how its working now:

and here is a simulation of how I would like to make it look on mobile:

The website is: https://www.proteicodamansao.com.br/
The password is: proteico@toguro

Thanks in advance.

Hello @indahood

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (min-width: 480px){ .banner img { height: auto !important; object-fit: contain !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like