BANNER MOBILE TOO BIG DAWN THEME

danbot
Excursionist
59 0 6

Hi,

 

My banner image is too zoomed and you can't see the image that you see in the desktop, any suggestion how to change it?

 

Thank youu

Schermata 2023-10-20 alle 18.36.43.pngSchermata 2023-10-20 alle 18.37.09.png

 

It happened after this topic: https://community.shopify.com/c/shopify-design/make-banner-image-fixed-desktop-mobile/td-p/2250179

 

Banner has to be like the background of my website

 

https://c168e5.myshopify.com/

pw: subnormal

 

Please helppp

Replies 7 (7)
danbot
Excursionist
59 0 6

Hi Isabella,

 

Thanks for the tip! I'm not very familiar  with the code, I have a responsive design, that's why I don't understand the issue with the sizing after that code change I pasted in the previous message. Can you look at it and maybe send me a new code?
I would really appreciate it.

 

Thanks!

PageFly-Oliver
Astronaut
840 177 158

 

Hi @danbot ,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
@media(max-width:767px){
.banner__media.media{
position:static !important
}
}
</style>

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

danbot
Excursionist
59 0 6

Hi Oliver, this is the result 😕 there is smth wrong with the height
Schermata 2023-10-23 alle 11.46.31.png

danbot
Excursionist
59 0 6

Hi Oliver, please check my answer below, it's not working as I expected 😞

PageFly-Oliver
Astronaut
840 177 158

I re-checked but the password was wrong. please give me the password again. Thanks

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

danbot
Excursionist
59 0 6

Hi! 

Here: PLo_3245-1!

 

🙂

PageFly-Oliver
Astronaut
840 177 158

You can try

@media screen and (max-width: 767px){
#MainContent .banner__media {
    height: calc(100vh - 231px) !important;
}
}

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.