Jump to content

how to: add spacing between images in gallery block

Recommended Posts

  • Replies 4
  • Views 3.4k
  • Created
  • Last Reply

Hi dear,

Please follow these steps:

1. Lead to Settings->Advanced->Custom code Injection

2. Paste this snippet into header box

<style>
#block-yui_3_17_2_1_1592064371946_3740 .sqs-gallery .image-wrapper {
  margin-bottom: 10px
}
</style>

3. Noticed how I find the id of block, you can install this plugin

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff

Is that what you looking for:

image.thumb.png.3933d051fc5eb299be5d1b89bec44c20.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
13 minutes ago, bangank36 said:

Hi dear,

Please follow these steps:

1. Lead to Settings->Advanced->Custom code Injection

2. Paste this snippet into header box


<style>
#block-yui_3_17_2_1_1592064371946_3740 .sqs-gallery .image-wrapper {
  margin-bottom: 10px
}
</style>

3. Noticed how I find the id of block, you can install this plugin

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff

Is that what you looking for:

image.thumb.png.3933d051fc5eb299be5d1b89bec44c20.png

Hi Bangank36,

 

That's amazing, that's exactly what I was looking for. Thank you very much! Unfortunately, when I go to => settings => advanced => code injection, it says that it is a premium feature.

I am using AVENUE as template.

Link to comment

As a workaround, you can create a new code block and add this snippet

image.png.54c86932ae9e754461459cd9d4a31c31.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
8 minutes ago, bangank36 said:

As a workaround, you can create a new code block and add this snippet

image.png.54c86932ae9e754461459cd9d4a31c31.png

It worked! Thank you so much. I also added it to my other gallery page with the help of the chrome extension. Amazing, this is like magic. Thank you again!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.