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

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.d4875a008279baa63c39cdb18abf2543.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

@itsbreezy you can add this code to make code run on desktop only

@media screen and (min-width:992px) {
paste above code here
}

 

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.