Solved

Multi-column section, how to show 3-4 columns for mobile (Dawn theme)

chocolatte1234
Explorer
57 0 21

Screen Shot 2024-01-29 at 1.53.46 PM.png

 Hello! I am trying to customize the multicolumn to have section like the above where you can have 3-4 columns in the mobile viewport. I tried editing the schema to the following:

 

    {
      "type": "select",
      "id": "columns_mobile",
      "options": [
        {
          "value": "1",
          "label": "t:sections.multicolumn.settings.columns_mobile.options__1.label"
        },
        {
          "value": "2",
          "label": "t:sections.multicolumn.settings.columns_mobile.options__2.label"
        },
        {
          "value": "3",
          "label": "3"
        },
        {
          "value": "4",
          "label": "4"
        }
      ],
      "default": "1",
      "label": "t:sections.multicolumn.settings.columns_mobile.label"
    },

But it doesn't really change anything. The link to the store is : https://ot5gaiz8hfh8mmq1-65234960618.shopifypreview.com 

 

Any help is appreciated!

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
5127 1223 1497

This is an accepted solution.

Thanks for the info, do you mean this one right? 

Made4uoRibe_0-1706561922681.png

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 "component-slider.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: 749px){
.grid--peek .grid__item {
    width: 25%;
    min-width: unset;
}
}

 

And Save. 

Result:

Made4uoRibe_1-1706562217746.png

Please, be aware that this small images wont be user-friendly. Since its too small it would need to be zoom by the users. 

 

 

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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
5127 1223 1497

Hi @chocolatte1234 

Where can I see this multicolumn? Which page?

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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Made4uo-Ribe
Shopify Partner
5127 1223 1497

This is an accepted solution.

Thanks for the info, do you mean this one right? 

Made4uoRibe_0-1706561922681.png

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 "component-slider.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: 749px){
.grid--peek .grid__item {
    width: 25%;
    min-width: unset;
}
}

 

And Save. 

Result:

Made4uoRibe_1-1706562217746.png

Please, be aware that this small images wont be user-friendly. Since its too small it would need to be zoom by the users. 

 

 

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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


chocolatte1234
Explorer
57 0 21

Works great! Thank you!

Made4uo-Ribe
Shopify Partner
5127 1223 1497

Welcome! please, dont forget to hit like. 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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com