NARRATIVE- could not change no of collection per row on mobile

Solved
Tourist
12 0 1

Hi, I wanted to change no of collection in per row in collection list on mobile to 1.

I changed the following but still show 2.

 

{%- assign mobileColumns = '1' -%}

    {%- capture gridClasses -%}
      {% if desktopColumns == '3' and totalProducts > 2 %}medium-up--one-third {% else %}medium-up--one-half {% endif %}
      {% if mobileColumns == '1' %}small--one-half {% endif %}

 Could someone help me out?

 

Thanks

0 Likes
Highlighted

Hello @Hans_Wong,

Remove "small--one-half" and add "small--one-whole"

2020-02-25_13-12.jpg

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Tourist
12 0 1

Hi oscprofessional,

 

It didnt work, still the same. I am not sure if i made it clear, I was talking about the no of collections on main page.

0 Likes
Highlighted

@Hans_Wong,

Please share your site url so that I will give you exact solution

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Highlighted

Success.

@Hans_Wong,

1. Go to Online Store->Theme->Edit code
2. Sections->collection-list.liquid

2020-02-25_13-54.jpg

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Tourist
12 0 1

@oscprofessional 

 

Big thanks!!!!

0 Likes