My mobile view is not showing the full picture as it used to after I changed some codes.
This is what the picture is supposed to look like: (Full size)
How it is now: (very zoomed in)
My website name is: chrystaljewellery.com
Can someone please help me to fix the code?
Thanks 
Christine
Hi @cjewelleryau ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/theme.scss->paste below code at the bottom of the file:
@media (max-width: 560px) {
.hero-wrapper .hero__image {
object-fit: contain;
}
.hero-wrapper .slick-list {
height: auto !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Hi, it works but I want to keep the red highlighted part. I hope it make sense. How do I do that? Thanks.
Just explaining: I want to have the red part Instead of having the top flat like this.
Hi @cjewelleryau ,
You can try add more below code in theme.scss file:
@media (max-width: 560px) {
.hero {
height: auto !important;
}
#shopify-section-slideshow + #shopify-section-featured-collections {
margin-top: -30px;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
1 Like
The code works! Thank you very much for your help, AvadaCommerce, I have accepted you as the solution.
1 Like