Solved

How to get 3 Multicolumns on One Line for Mobile

TechNewbie
Tourist
6 0 1

I need help to get all 3 multicolumns for mobile on one line. Right now, every tweak I make for the mobile version always show the columns on 2 lines.

 

The site I am working on needs the 3 disclaimers at the top which is pushing down the products below the fold on mobile.

 

Here is a screenshot of the mobile site with the 3 columns on two lines.

 

3 columns.png


Here is my site: https://algagendirect.com

 

Thanks in advance.

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5938 1429 1759

This is an accepted solution.

Hi @TechNewbie 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (max-width: 640px){
.grid--3-col-tablet-down .grid__item {
    width: 30%;
}
    }
@media screen and (max-width: 500px){
.multicolumn-card__info {
    padding: .5rem;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1712252852681.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
5938 1429 1759

This is an accepted solution.

Hi @TechNewbie 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (max-width: 640px){
.grid--3-col-tablet-down .grid__item {
    width: 30%;
}
    }
@media screen and (max-width: 500px){
.multicolumn-card__info {
    padding: .5rem;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1712252852681.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


TechNewbie
Tourist
6 0 1

Thanks for your help.

 

I edited the base.css. The code improved the issue. But I have a Pixel 6 phone which doesn't have the biggest screen. It is still showing the 3 columns on 2 lines.

TechNewbie
Tourist
6 0 1

After more digging I see I have theme.css.liquid. Adding the code there fixed the issue. 

 

Thanks.