Making multicolumn on mobile more than 2

Solved

Making multicolumn on mobile more than 2

Rio_Omnis
Tourist
27 0 2

Hi is there anyone that knows how to make the multicolumn on mobile more than 2? 

Here is the store: Pete's Rubbers 

1000009534.png

 I would really appreciate your help.

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
11360 2225 2399

This is an accepted solution.

Hi @Rio_Omnis 

You can add this code below to Custom CSS of that section in theme customize

@media (max-width: 749px) {
.multicolumn-list__item {
    width: calc(30% - var(--grid-mobile-horizontal-spacing) / 3);
    max-width: calc(40% - var(--grid-mobile-horizontal-spacing) / 3);
}
}

 

- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

View solution in original post

Replies 12 (12)

topnewyork
Astronaut
1299 160 217

@Rio_Omnis 
1/
 Shopify admin > Online store > Edit code

2/ Search for "theme.liquid" file
3/ Open the file and search for </head> tag and add the following code above </head> tag:

 

Here is the code for Step 3:

{% style %}
@media screen and (max-width: 768px){

.multicolumn slider-component.slider-mobile-gutter ul.multicolumn-list > li {
 width: calc(100% / 6.4) !important;
}
}
{% endstyle %}
 
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
Rio_Omnis
Tourist
27 0 2

Hi just wondering if I'm doing something wrong? When I place it above </head> it gives me this error

1000009535.png

topnewyork
Astronaut
1299 160 217

@Rio_Omnis 

paste the below code before </head>

 

<style>

@media screen and (max-width: 768px){

.multicolumn slider-component.slider-mobile-gutter ul.multicolumn-list > li {
 width: calc(100% / 6.4) !important;
}
}

</style>

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
Rio_Omnis
Tourist
27 0 2

It ends up looking like this

1000009536.png

topnewyork
Astronaut
1299 160 217

An extremly sorry for this try this code, hope it will working 

<style>
 @media screen and (max-width: 768px) {
    .multicolumn-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .multicolumn-list > li {
        flex: 1 1 calc(33.33% - 10px) !important;
        max-width: calc(33.33% - 10px) !important; 
    }
}
</style>
Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

LizHoang
Shopify Partner
1251 158 196

Hi @Rio_Omnis 


- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

 

 

@media screen and (max-width: 749px) {
    .grid--2-col-tablet-down .grid__item {
        width: calc(30% - var(--grid-mobile-horizontal-spacing) / 2);
    }
}

 

Result: 

LizHoang_0-1739779884729.png

 

Best, 

Liz

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program
Rio_Omnis
Tourist
27 0 2

By any chance do you know how to also make the images clickable? 

LizHoang
Shopify Partner
1251 158 196

You can refer to this link: http://www.w3schools.com/TAGs/att_a_href.asp

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program
Rio_Omnis
Tourist
27 0 2

I can see the code you're referring to I just don't know how to apply it to the multicolumn

Ahmad31
Shopify Partner
224 21 38

@Rio_Omnis 
I can definitely help you make the images clickable! However, I'll need access to snippet of the section where you're trying to add this functionality. If you can share the relevant Liquid code, I'll guide you accordingly.

Love my work? Buy Me A Coffee
Hire Me: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!
Rio_Omnis
Tourist
27 0 2

I honestly don't know a lot about where code is placed but if it was to be somewhere it's probably on the multicolumn.liquid. I have taken some snapshots let me know if this helps.

 

Screenshot 2025-02-17 103120.pngScreenshot 2025-02-17 103135.pngScreenshot 2025-02-17 103153.pngScreenshot 2025-02-17 103235.png

Dan-From-Ryviu
Shopify Partner
11360 2225 2399

This is an accepted solution.

Hi @Rio_Omnis 

You can add this code below to Custom CSS of that section in theme customize

@media (max-width: 749px) {
.multicolumn-list__item {
    width: calc(30% - var(--grid-mobile-horizontal-spacing) / 3);
    max-width: calc(40% - var(--grid-mobile-horizontal-spacing) / 3);
}
}

 

- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.