Jump to content

Can you teach me how to reduce the spacing between image and text in same block?

Recommended Posts

1 hour ago, hannahpellatt said:

Site URL: https://pentagon-snail.squarespace.com/lead-magnet

Hey guys – I'm trying to move the text and image together on this banner.

If anyone can work out the custom CSS for me – and also any tips on how to fix similar problems in the future so I don't have to bother you lot...

Thank you!

Password: kerri2021

Screenshot 2021-11-30 at 15.23.46.png

You can try adding to Home > Design > Custom Css

#block-4a52e420e4d2dfda204b {
	.image-card-wrapper {
		margin-right: 0 !important;
	}
	.sqs-block-content {
		.sqs-block-image-figure {
			justify-content: center;
		}
	}
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing result

image.thumb.png.f6aef5fcdc6d3afb28bee0df72dbb649.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/5/2021 at 8:25 PM, hannahpellatt said:

I got the same result, thank you! I'm wondering if it's possible to reduce the spacing between image and text even further... any tips?

To reduce space, you can add 2 spacer blocks on left/right of image. Or add this CSS

@media screen and (min-width:768px) {
div#block-4a52e420e4d2dfda204b {
    width: 65%;
    margin: 0 auto;
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.