Debut Theme - Increase Gallery image capacity

Highlighted
Tourist
5 1 0

Hello community! I'm new to coding sites on Shopify and was hoping for a little advice.


1) I'm trying to expand the amount of images the gallery can hold as its limited to about 4 and I need it to hold about 25

2) Adjust the galleries image spacing & sizing & work to full screen

 

Website: https://www.benaiahmatheson.com/

 

Big thanks in advance!

0 Likes
Highlighted
New Member
1 0 0

Hiya - don't know if you still need this or if it could help anyone else but here's what I done and it worked for me.

1/ Open the 'Edit Code' section of your site

2/ head to Sections > image.bar.liquid

3/ Search for "max_blocks"

4/ You should see this:

  },
  "class": "index-section index-section--flush",
  "max_blocks": 10,
  "settings": [
    {

 

5/ Change the max blocks number (10) to whatever you need! 

 

Hope this helps

0 Likes