Jump to content

Newsletter block and social links block not lining up

Recommended Posts

Site URL: https://www.coucouchloe.com/

I am trying to have a newsletter block and social icons block sit side by side and have the blocks essentially be the same size so that all the text and icons line up. I've tried adding some CSS to remove padding on the newsletter block, and i've tried setting this up as a regular page and as a footer, and I can't seem to get anywhere. 

pw: chloe

thanks!

2117625336_ScreenShot2021-11-09at7_48_28AM.thumb.png.623604bd21b64a04b07080a856e539bd.png

Link to comment
2 hours ago, itsbreezy said:

Site URL: https://www.coucouchloe.com/

I am trying to have a newsletter block and social icons block sit side by side and have the blocks essentially be the same size so that all the text and icons line up. I've tried adding some CSS to remove padding on the newsletter block, and i've tried setting this up as a regular page and as a footer, and I can't seem to get anywhere. 

pw: chloe

thanks!

2117625336_ScreenShot2021-11-09at7_48_28AM.thumb.png.623604bd21b64a04b07080a856e539bd.png

You can try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1636393190813_4722 + .row, .newsletter-form, section[data-section-id="618a6a4aceb12e4c1b7f35ca"] .span-12 >.row.sqs-row {
	display: flex;
	align-items: center;
}

.newsletter-block {
	padding: 0;
}

.newsletter-form-body {
	display: flex;
	align-items: center !important;
	padding-bottom: 0 !important;
}

.newsletter-form-fields-wrapper,.newsletter-form-button-wrapper {
	margin-top: 0 !important;
}

.sqs-svg-icon--list {
	display: flex;
	justify-content: center;
	align-items: center;
}

section[data-section-id="618a6a4aceb12e4c1b7f35ca"] .span-12 >.row.sqs-row  > .span-6:last-of-type {
	position: relative;
}

section[data-section-id="618a6a4aceb12e4c1b7f35ca"] .span-12 >.row.sqs-row .socialaccountlinks-v2-block {
	padding: 0;
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

Let me know how it works on your site

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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

My testing result

image.thumb.png.d4875a008279baa63c39cdb18abf2543.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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

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.