Solved

How can I rearrange website icons in mobile view?

houssamalissa
Pathfinder
139 0 42

This section on my website looks fine in desktop:

houssamalissa_1-1632223468503.png

 

But in mobile view, it arranges the icons into rows of two:

houssamalissa_0-1632223446962.png

Which takes a while to scroll through! Is there any way to have the mobile view arrange these icons in groups of 3 or 4 in a way that doesn't cause the text to bunch up and overlap?

 

Thanks 🙂

 

Site URL: https://optyma.myshopify.com/
Password: sheert/
Theme: Motion
Accepted Solution (1)

diego_ezfy
Shopify Partner
2958 568 891

This is an accepted solution.

@houssamalissa, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

@media (max-width: 640px){

    #shopify-section-162853743403e7833c .grid{
    display: flex !important;
    flex-wrap: wrap !important;
}

#shopify-section-162853743403e7833c .grid .grid__item{
    max-width: 33% !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
}

}



Please let me know whether it works.

Kind regards,
Diego

View solution in original post

Replies 4 (4)

oscprofessional
Shopify Partner
15846 2371 3074


Hello @houssamalissa ,
Welcome to the Shopify community!
Share your store url with password.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
houssamalissa
Pathfinder
139 0 42

Hi @oscprofessional , it's in my signature

Site URL: https://optyma.myshopify.com/
Password: sheert/
Theme: Motion

diego_ezfy
Shopify Partner
2958 568 891

This is an accepted solution.

@houssamalissa, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

@media (max-width: 640px){

    #shopify-section-162853743403e7833c .grid{
    display: flex !important;
    flex-wrap: wrap !important;
}

#shopify-section-162853743403e7833c .grid .grid__item{
    max-width: 33% !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
}

}



Please let me know whether it works.

Kind regards,
Diego

houssamalissa
Pathfinder
139 0 42

That worked! Thank you!

Site URL: https://optyma.myshopify.com/
Password: sheert/
Theme: Motion