Solved

Banner height sizing issue Desktop and Mobile - Dawn Theme

Aromidy
Tourist
11 0 1

Hi Everyone,

 

I'm facing a challenge with the banner height settings on my website. When I select 'Large', it looks fine on mobile devices, but appears a bit too short on desktop. Conversely, if I choose 'Adapt to first image', the desktop view is almost perfect (still a bit to large), but it doesn't work well on mobile. Any suggestions on how to resolve this issue while maintaining optimal display on both platforms would be greatly appreciated.

 

Website: Aromidy.com 

Password: Aromidy2023

 

Thanks in advance for your help!

   

IMG_2130.jpg

Adopt to first image

IMG_2129 (1).jpg

Large

 

 

Accepted Solution (1)

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @Aromidy ,

 

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 screen and (min-width: 750px){
 .banner--large:not(.banner--adapt) {
    min-height: 100vh !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.

View solution in original post

Replies 3 (3)

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @Aromidy ,

 

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 screen and (min-width: 750px){
 .banner--large:not(.banner--adapt) {
    min-height: 100vh !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.

Aromidy
Tourist
11 0 1

This worked like a charm. Thanks Oliver!

 

Best Regards,

Kai

Ecomseller2025
Excursionist
15 1 6

This resolved my issue FINALLYYYYY!!! THANKS A LOT!!!