Venture Theme, need to add 1 more row to Featured Collections in mobile

MOCHILOCO
Tourist
6 0 2

Good evening,

In mobile version, the featured collections only display 3 products and the collection image.  I would like to add an additional row of 2 products to the featured collections in mobile.

Site: www.mochilo.co

Thanks for the help!

0 Likes
PeanutButter
Shopify Partner
330 66 137

hi @MOCHILOCO 

You have to open Sections/featured-products.liquid and search for this line:

<div class="grid__item small--one-half medium-up--one-fifth{% if forloop.index == 1 %} collection__card--first{% endif %} {% if mobile_product_limit and forloop.index > 3 %}small--hide{% elsif rows == 1 or rows == 3 %}{% if forloop.index == product_index_hide_on_mobile %}small--hide{% endif %}{% endif %}">

It is line 42 in the latest version of Venture

In that line you should change:

{% if mobile_product_limit and forloop.index > 3 %}

to

{% if mobile_product_limit and forloop.index > 5 %} 

 So basically just change that 3 to 5

The resulting line would be:

<div class="grid__item small--one-half medium-up--one-fifth{% if forloop.index == 1 %} collection__card--first{% endif %} {% if mobile_product_limit and forloop.index > 5 %}small--hide{% elsif rows == 1 or rows == 3 %}{% if forloop.index == product_index_hide_on_mobile %}small--hide{% endif %}{% endif %}">

 

Please remember to Like and mark as Accepted my answer if it solves your issue

Peanut Butter Collective | Shopify Experts
- Was my reply helpful? Please Like and Accept Solution.
- Want to customize and improve your store? Hire us.
- Feel free to contact me us hello@peanutbutter.es
0 Likes