Re: resize images for mobile and desktop

resize images for mobile and desktop

kakajdiaz
Tourist
12 0 3

Whenever I transfer to mobile view, my banner image is always cropped. But, its alright with my desktop view. I would like to fix this. Please help.

 

https://katinteriors.net

Replies 4 (4)

GTLOfficial
Shopify Partner
880 182 193

Hello @kakajdiaz 
Go to online store ---------> themes --------------> actions ------> edit code------->Theme.css

add this code at the end of the file.

@media only screen and (max-width: 800px) {
#shopify-section-slideshow img, .index-slideshow-section img {
height: 240px;
}
}

 and the result will be
1.png

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
kakajdiaz
Tourist
12 0 3

I cant find theme.css .. only this one:

kakajdiaz_0-1721839994771.png

 

oscprofessional
Shopify Partner
16386 2441 3190

Hello @kakajdiaz 
I have checked your problem, you can create separate images for mobile view and desktop view, this will be a proper solution for this.
Please check the Reference below

oscprofessional_0-1721813618365.png

 

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...
kakajdiaz
Tourist
12 0 3

Is that the only solution that we can do?