Hello friends, how can I minimize the hight of this section?
Topic summary
A user needed help reducing the height of a multicolumn card section on their Shopify mobile site, as shown in their screenshot.
Solution Provided:
- Add custom CSS targeting mobile screens (max-width: 768px)
- The CSS removes padding from the image wrapper and info container elements
- Code should be pasted into: Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS
Key CSS changes:
- Set
padding-top: 0on.multicolumn-card__image-wrapper - Set
padding-block: 0on.multicolumn-card__info - Set
margin-top: 0on the.rteelement
Status: Resolved - the user confirmed the solution worked successfully.
Hi @NikosBat
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
.multicolumn-card.content-container .multicolumn-card__image-wrapper {
padding-top: 0 !important;
}
.multicolumn-card.content-container .multicolumn-card__info {
padding-block: 0 !important;
}
.multicolumn-card.content-container .multicolumn-card__info > .rte {
margin-top: 0 !important;
}
}
Here is the result:
I hope this helps
Best,
Daisy
1 Like
Thank you very much that solved my problem

