Jump to content

Uneven image block spacing on desktop site

Go to solution Solved by Beyondspace,

Recommended Posts

Posted (edited)

Hello! May I kindly ask for some help?

On the home page of my website I am utilising image blocks to link through to the different galleries of my photography. On the mobile version the blocks are evenly spaced, but on the desktop version the first two rows sit closer together than the rest.

I am using Squarespace 7.0 with the Wells template with custom CSS but no code injection. Can anyone help me fix this please? Thank you.

Screenshot 2024-05-19 175859.jpg

Edited by Ryan_Dandelion
Link to comment
On 5/19/2024 at 1:49 PM, Ryan_Dandelion said:

Hello! May I kindly ask for some help?

On the home page of my website I am utilising image blocks to link through to the different galleries of my photography. On the mobile version the blocks are evenly spaced, but on the desktop version the first two rows sit closer together than the rest.

I am using Squarespace 7.0 with the Wells template with custom CSS but no code injection. Can anyone help me fix this please? Thank you.

Screenshot 2024-05-19 175859.jpg

Can you share your URL so we can check it easier?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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
  • Solution
29 minutes ago, Ryan_Dandelion said:

Yes, thank you!

https://ryandandelion.art/

This code affects your image block

image.thumb.png.302a190ddc4ef3fbc2e7c6e0f314f8af.png

Try the following custom CSS to overwrite it

@media only screen and (min-width: 768px) {
  #collection-64a426e6e8d3055e9c92769f .sqs-layout:not(.sqs-editing) .sqs-row .sqs-block:not(.float):not(.sqs-feature-gated-wrapper):first-child:last-child{
    padding-bottom: 17px;
  }
}

Let me know how it works on your end

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.