How to get 3 Multicolumns on One Line for Mobile

Solved

How to get 3 Multicolumns on One Line for Mobile

TechNewbie
Tourist
14 0 2

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
9846 2341 2936

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9846 2341 2936

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
TechNewbie
Tourist
14 0 2

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
14 0 2

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

 

Thanks.