Jump to content

Simple Fix - Spacing between images on mobile

Recommended Posts

Site URL: https://tmha-new-site.squarespace.com/

Here is the code in my CSS currently, all I want to do is make that spacing between the two row much smaller.

password: tamara

/* Mobile-Glam persona */
@media screen and (max-width:767px) {
div#page-section-61c0b2469abc8d6ded1ed073>.row:nth-child(2) .span-3 {
    width: 50% !important;
    float: left !important;
}
div#page-section-61c0b2469abc8d6ded1ed073>.row:nth-child(2) .span-3:nth-child(2n+1) {
    clear: left !important;
}
}

 

Link to comment
17 minutes ago, ThisWayToFabulous said:

Site URL: https://tmha-new-site.squarespace.com/

Here is the code in my CSS currently, all I want to do is make that spacing between the two row much smaller.

password: tamara

/* Mobile-Glam persona */
@media screen and (max-width:767px) {
div#page-section-61c0b2469abc8d6ded1ed073>.row:nth-child(2) .span-3 {
    width: 50% !important;
    float: left !important;
}
div#page-section-61c0b2469abc8d6ded1ed073>.row:nth-child(2) .span-3:nth-child(2n+1) {
    clear: left !important;
}
}

 

Where is your issue? Can you share your link and take some screenshots?

Edited by bangank36

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

Add to Design > Custom CSS

/* Our favorite Glam style */
@media screen and (max-width:767px) {
div#page-section-61c0b2469abc8d6ded1ed073 {
p:empty {
    display: none;
}
.image-block {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}}
}

 

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

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.