Setting every image width same for product description

Setting every image width same for product description

CarStory
Visitor
3 0 0

Hello.

I need help on my website about setting all the product description images to same width so customers can look at my products comfortably.

My website is carstory.store.

I'm using custom liquid for product description as {{product.description}}

Pictures that come with product description is too large.

Can anyone help?

Replies 2 (2)

AnneLuo
Shopify Partner
1293 228 266

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag

<style>
.section-template--18110968987896__custom_liquid_Fc9qBp-padding img{
   width: 944px !important;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Dan-From-Ryviu
Shopify Partner
11430 2244 2415

Hi @CarStory 

Please use this code and add it to the Custom Liquid 

<div style="max-width:600px;margin:0 auto;padding:0 1.5rem;overflow: hidden;">
{{product.description}}
</div>

 

 

- Resolved your issue? - Hit Like & Accept solution - Support me: Buy Me Coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.