Jump to content

Reducing the Gap Between Two Columns

Recommended Posts

  • Mlekoman changed the title to Reducing the Gap Between Two Columns
On 3/9/2022 at 4:06 PM, Mlekoman said:

Hi, is there a way to reduce the size of the middle gutter as shown on the screenshot? I want the middle gap to be the same size as the side margins.

Tnx, Gasper

Screenshot-2022-03-09-at-09.47.33-2.jpg

Can you share your site with the protected password so we can take a look?

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
On 3/24/2022 at 2:56 PM, Mlekoman said:

Hi, sorry, it autofilled it:

https://ritmiweb.squarespace.com

pass: ritmiweb

Tnx

Try adding to Design > Custom CSS

div#page-section-62289447cc42634c04d000d8 .image-block {
    padding-left: 5px;
    padding-right: 5px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
9 hours ago, tuanphan said:

Try adding to Design > Custom CSS

div#page-section-62289447cc42634c04d000d8 .image-block {
    padding-left: 5px;
    padding-right: 5px;
}

 

Hi, thank you very much but it doesn't do exactly what I intended. 🙂 The code reduce padding on both images and therefore positions them outside of the visible edges. What I intended was to reduce the right padding of the left image and the left padding of the right image or, even better, to reduce the default width of the column gutter. I want to achieve that the outer margins and the middle one would be of the same width (0.8vw as set in Spacing in Site Styles).

Thank you again for your help!

Screenshot 2022-03-26 at 14.37.56.png

Link to comment

You can try this code

[data-section-id="62289447cc42634c04d000d8"] .sqs-row:nth-child(2), [data-section-id="62289447cc42634c04d000d8"] .sqs-row:nth-child(3){
  .sqs-col-6:first-child .sqs-block {
    padding-right: 5px;
  }
  .sqs-col-6:last-child .sqs-block {
    padding-left: 5px;
  }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.