I’m using the Release theme. I’d like to make the height of the Collection banners smaller. It looks fine on mobile, but not on desktop. Please help!
Store is: laughinggullhill.com, PW: kaitlin
A user working with Shopify’s Release theme wants to reduce the collection banner height on desktop while keeping mobile display unchanged. The banner appears too tall on desktop views.
Proposed Solutions:
--section-height to auto, the other sets it to 20svhImplementation Issue:
base.css file instead (Shopify Admin → Online Store → Theme → Edit code)Status: The discussion remains open as the user works through the implementation method, with guidance provided on alternative placement locations for the CSS fix.
I’m using the Release theme. I’d like to make the height of the Collection banners smaller. It looks fine on mobile, but not on desktop. Please help!
Store is: laughinggullhill.com, PW: kaitlin
You can solve it by adding this code to Custom CSS in Sales channels > Online store > Themes > Customize > Theme settings.
@media (min-width: 750px) {
html #shopify-section-template--17328702652494__banner > div {
--section-height: auto;
}
}
@cielle-studio - please add this css to the very end of your base.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → base.css
@media screen and (min-width: 750px){
.section-page-banner__group{--section-height: 20svh !important;}
}
Please put it at the bottom of your base.css file instead