guyv
April 18, 2022, 5:01pm
1
Hi!
Please can someone assist me.
I would like to change the width of an image of icons on my product page (see screenshot below). Note that it is 1 image file. The image should not go over the red dotted line.
Here is the code that I am currently using:

Thanks!
https://electricrideco.com/products/enskate-r2-36v-450w-dual-motor-electric-skateboard
1 Like
@guyv
oh sorry for that issue can you try this code
Go to Online Store->Theme->Edit code
Asset->/theme.scss.liquid ->paste below code at the bottom of the file.
.payment-icons + p + div img {
max-width: 435px;
}
1 Like
Please add below css in bottom of assets/theme.scss.css file
.product-single__info-wrapper img {
max-width: 97.5%;
}
Thank you.
1 Like
guyv
April 19, 2022, 9:51am
4
@KetanKumar
Thanks for your reply. This worked for desktop view but not mobile view.
1 Like
guyv
April 19, 2022, 9:52am
5
@Denishamakwana
Works great! Thanks a lot.
1 Like