itsbreezy Posted November 9, 2021 Share Posted November 9, 2021 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! Link to comment
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 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! 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 tuanphan 1 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, Lightbox Studio pluginIf 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
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 My testing result 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, Lightbox Studio pluginIf 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 Posted November 9, 2021 Author Share Posted November 9, 2021 (edited) @bangank36 hi thank you so much! this works great for desktop but everything gets messed up on mobile preview 😞 Edited November 9, 2021 by itsbreezy Link to comment
tuanphan Posted November 11, 2021 Share Posted November 11, 2021 @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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment