Shopify themes, liquid, logos, and UX
Hello all !
I am designing a landing page using the studio theme. I have used a slideshow component and I am unable to optimise the size of the images for mobile and desktop at the same time.
I am hoping to reduce the height of the desktop images by around 100px.
Please guide me on how I can go about this.
Thank you !
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Hi Ketan Kumar
Hope you are doing well. Thank you for replying.
Here is the link
https://6h4bn2y97bxgj675-43429658791.shopifypreview.com
It's the first slide show from top
Want to reduce the height only for the desktop version
Looking forward to hearing from you
Regards
Karthik
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
@media screen and (min-width: 750px) {
#Slider-template--15393629012135__slideshow::before, #Slider-template--15393629012135__slideshow .media::before {padding-bottom: 50% !important;}
}
Hello Ketan
Thank you for responding
This did not work as I wanted. The slide show images are getting cropped instead of being resized. Please check attachment for details
Really appreciate you helping me
Thanks
Warm Regards
Karthik
oh sorry but ican't see code and your attachment
Here are the screenshots of before and after using your code.
Instead of the bottom being cropped, I am hoping the entire image is resized and present.
Please let me know if it makes sense.
After using your code
Before using your code
Did you ever figure this out? I'm also trying to resize the images in my slideshow, using the Studio theme.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024