Yuva Theme Banner Image Cropped on Different Screen Sizes

Yuva Theme Banner Image Cropped on Different Screen Sizes

exoneon
Tourist
35 0 3

Hello,

 

Please help me fix this the banner size issue on different screens, it is cropped.

 

Lewis Knife

 

exoneon_0-1738921576359.png

 

Reply 1 (1)

EBOOST
Shopify Partner
1338 336 404

Hi @exoneon ,

May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code
2. Layout/theme.liquid
3. Add code below to end of file and before </body> tag

<style>
#shopify-section-template--18574681407732__image_banner_AibWNX .yv-image-banner-wrapper {
  height: auto;
}

#shopify-section-template--18574681407732__image_banner_AibWNX .yv-image-banner-content.text-align-left {
  position: absolute;
}

#shopify-section-template--18574681407732__image_banner_AibWNX .image-wrapper {
  position: static!important;
  padding: 0!important;
}
#shopify-section-template--18574681407732__image_banner_AibWNX .image-wrapper img {
  position: static!important;
  object-fit: cover!important;
}
</style>

EBOOST_0-1739114749081.png

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips