how to optimize the image size on mobile

Solved

how to optimize the image size on mobile

CarStory
Visitor
3 0 0

Hello.

I urgently need a help on my Refresh Theme.

I used a custom liquid code of "product.description" in order to move description part of a product down from image so it shows separately.

However, the image is not optimizing on mobile phone. If you look at the picture i posted below, It's only showing the left part of the image.

I guess the image resolution is too large or something. 

Can you guys please help me on this? 

 

fff.JPG

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
11333 2222 2391

This is an accepted solution.

Hi @CarStory 

Please go to your Online Store > Themes > Edit code > add this code to theme.liquid file, after <head> 

<style>
@media (max-width: 749px) {
#shopify-section-template--18110968987896__custom_liquid_Fc9qBp img { max-width: 100%; }
}
</style>

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

View solution in original post

Replies 4 (4)

Rahul_dhiman
Shopify Partner
766 145 157

HEllo @CarStory 
Please provide the URL of your website.

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

CarStory
Visitor
3 0 0

carstory.store

Dan-From-Ryviu
Shopify Partner
11333 2222 2391

This is an accepted solution.

Hi @CarStory 

Please go to your Online Store > Themes > Edit code > add this code to theme.liquid file, after <head> 

<style>
@media (max-width: 749px) {
#shopify-section-template--18110968987896__custom_liquid_Fc9qBp img { max-width: 100%; }
}
</style>

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

oscprofessional
Shopify Partner
16343 2438 3177

Hello @CarStory 
Go to online store > Edit theme code > theme.liquid > Insert the code before closing </body>.

<style>
@media (max-width: 767px) {
  body .detail-desc-decorate-richtext img {
     width: 100%;
     max-width: 100%
  }
}
</style>



Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...