Shopify themes, liquid, logos, and UX
I would like to put the images and text side by side in the multicolumn section. Normally they stack on top of each other but I would like the image in the box and the text to be side by side on both desktop and mobile view. How do I do that?
Hi @skjoldet,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.multicolumn-card {
display: flex;
align-items: center;
justify-content: space-between;
}
.multicolumn-card__image-wrapper {
flex: 1 0 30%;
}
Thank you, it worked. Now i have a new problem of the image placement, as it is not in the middle of the column. It touches the button of the frame. How do I fix that?
And if I only want the side by side image on desktop, what do I write?
Hi @skjoldet,
Please change code:
.multicolumn-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.multicolumn-card__image-wrapper {
flex: 1 0 30%;
}
Thank you that worked! What if I only want the above code to work for a desktop, what should I write?
Hi @skjoldet,
Please change code:
@media screen and (min-width: 750px) {
.multicolumn-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.multicolumn-card__image-wrapper {
flex: 1 0 30%;
}
}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025