Hi there!
How can I reduce the heigh of the slideshow on Homepage?
I want to reduce like 30% of the existing height.
Theme: Refresh
Website: https://plenitudvital.es/
Thanks!
A user seeks to reduce their homepage slideshow height by approximately 30% on the Refresh theme.
Multiple solutions proposed:
Native theme settings approach (recommended): Navigate to Shopify Admin → Online Store → Themes → Customize → Template → Slideshow, then set “Slide height” to “small” in the section settings.
Custom CSS method: Add CSS code targeting .slideshow__text and .banner--small classes through the Custom CSS setting in the theme customizer. This adjusts padding and minimum height values.
Code injection approaches: Two responders suggested inserting CSS directly into theme.liquid file above the </head> tag, though these methods were later criticized.
Technical debate emerged: One contributor corrected others, noting that using section IDs as CSS selectors is problematic since they aren’t preserved between theme duplications. The Custom CSS feature in the customizer is identified as the most appropriate method for non-technical merchants to implement styling changes safely.
Status: Multiple working solutions provided; discussion remains open regarding best practices.
Hi there!
How can I reduce the heigh of the slideshow on Homepage?
I want to reduce like 30% of the existing height.
Theme: Refresh
Website: https://plenitudvital.es/
Thanks!
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above
If it helps you, please like and mark it as the solution.
Best Regards ![]()
Hi @kingdom2
I hope this message finds you well.
To adjust the height of the slideshow on your homepage, please follow these steps:
Step 1: Go to Shopify Admin > Online Store > Theme > Edit Code
Step 2: Search for the theme.liquid file
Step 3: Insert the following code above
Once done, you should see the updated slideshow height like this https://prnt.sc/QLC9lkyDw1FT
I hope this helps! ![]()
Best regards,
Daisy
Hi @kingdom2 ! Here is what you’ll need to do:
Open Shopify admin dashboard
Sales channel > online store
Select the theme you want and click Customize
On the left under Template > click Slideshow
At the top of the Slideshow setting make sure Slide height is set to small
Then scroll to the bottom of the section settings (same area as the Slide height setting) and click on Custom CSS
Copy and Paste the following into that area
@media screen and (min-width: 750px) {
.banner--small:not(.banner--adapt) {
min-height: 20em;
}
.slideshow__text {
padding-top: 20px;
padding-bottom: 20px;
}
}
If I managed to help you then, don’t forget to Like it and Mark it as the Solution!
Kind regards,
Mark
@BSSCommerce-B2B Sorry but you should not use section IDs as css selectors. Those are not preserved between theme duplications. See my reply for correct way to accomplish this and apply css to only a specific section.
@DaisyVo Sorry but with the implementation of the Custom CSS setting in the customizer, answers should be directed to use that feature. This is the easiest way for a non-technical Shopify merchant to handle custom CSS.