Add Swiper Snippet to featured collections (VENTURE THEME)

Hi there, im building my new section. I want to make something with swiper and featured-collections. It seems to work, but i want to modify something..

Right now, it shows all collections in the same row, how can i change it, and just show one collection per row. Just like desktop view.. how can i change it to mobile view

Here is a capture from desktop view, which one its showing correctly.

Here is a capture from mobile view, you can see there it’s showing all categories in the same row, and i want to show just one categorie by row

Any code or everything its needed, just contact me, thanks a lot for anyone who can help me!

1 Like

@SHIBdev

yes you have try this way code

https://www.youtube.com/watch?v=7DqtFl2KaSg

1 Like

@KetanKumar i made it with another snippet different than video. That’s called SWIPER. and i want to make it with collections, no products.

i can send you link and password if you need it

1 Like

@SHIBdev

yes please share us

1 Like

@KetanKumar done by pm, thanks a lot!

1 Like

@SHIBdev

thanks for it i will check url and let you know

1 Like

up!!

1 Like

@SHIBdev

did you not see message?

1 Like

@KetanKumar sorry i send you a pm, you’re not seeing the correct place at home page, its at the top page mobile view.

1 Like

yes please share code so i will update

1 Like

@KetanKumar done, you got it by pm! thanks a lot!

up!!

1 Like

  
  

  

  
    

{% for block in section.blocks %}
    {% if block.type == "collection" %}
      
        

    {% assign row_number = 1 %}

    {% for block in section.blocks %}
      {% if blocks_count == 5 and forloop.index > 3 %}
        {% assign grid_item_width = 'medium-up--one-half' %}
        {% assign height = 450 %}
      {% endif %}
      {% if blocks_count > 4 and forloop.index > 3 %}
        {% assign row_number = 2 %}
      {% endif %}

      {% assign featured_collection = collections[block.settings.collection] %}

      {% include 'collection-grid-item' with stretch_collection_image: section.settings.stretch_collection_image, height: height %}
    {% endfor %}

  

      
    {% endif %}
{% endfor %}
    

  

1 Like

@KetanKumar this code doesn’t work, it shows everything in homepage broken

1 Like

@SHIBdev

some thing is wrong code

if possible to add me staff account and give me just theme access so i will check direct theme code

1 Like

@KetanKumar done, you got collaborator code by pm! thanks a lot!

1 Like

@SHIBdev

great thanks let me ck

1 Like

@KetanKumar okay ill wait till tomorrow you can send me request right now if you want. Thanks a lot

1 Like

@SHIBdev

yes i’m back to work but i can’t receive any email can you try again

1 Like

@KetanKumar here you have url, https://ettore-and-gio.myshopify.com/