I’m using Dawn Theme. In mobile view, my first product image is cutting off the right side.
Can anyone figure out this?
https://www.castxblast.com/products/cast-x-blast-tee?variant=45403034976558
The desktop view is perfect however the mobile view is cutting off the side.
I tried this code but it is not working for my case..
@media(max-width:767px){
slider-component.slider-mobile-gutter ul.product__media-list li:first-child{
margin-right:calc(100vw + 1rem) !important
}
}
Thank you.
Hey
Please try this CSS code in the media query:
@media screen and (max-width: 749px) {
.slider.slider–mobile {
scroll-padding-left: 0 ! important;
}
}
I hope this will help you.
Thank you
Pooja
Thank you for your response!
Your code is worked but still it’s cutting off..
Is it possible to add some space around the image?
It is okay to show the product smaller a bit..
Try this code on mobile version:
@media screen and (max-width: 749px) {
.product__media-wrapper slider-component.slider-mobile-gutter.thumbnail-slider {
padding: 0;
}
.product__media-wrapper slider-component.slider-mobile-gutter {
padding: 10px 30px;
}
}
Thank you.
It working.
Some items are still not but I think I need to change the images like same size as correct one.
I’ll accept as solution yours thank you.