anthonyrichardson Posted May 21 Share Posted May 21 I have a summary block on my homepage, https://www.simpledwelling.net, using the List design. I want to align the text to the centre of the image vertically and add some additional padding between the image and text. See image for a mock-up. Ideally, I'd like to also increase font sizes for each piece of text for this particular summary block. Can anyone help with some code? Thanks! Link to comment
Solution Ziggy Posted May 21 Solution Share Posted May 21 Try this in Custom CSS: @media only screen and (min-width:768px) { .sqs-block-summary-v2 .summary-block-setting-design-list .summary-item { display: flex; align-items: center; } .sqs-gallery-design-list .sqs-gallery-image-container { padding-right: 42px; } } anthonyrichardson 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
anthonyrichardson Posted May 21 Author Share Posted May 21 2 hours ago, Ziggy said: Try this in Custom CSS: @media only screen and (min-width:768px) { .sqs-block-summary-v2 .summary-block-setting-design-list .summary-item { display: flex; align-items: center; } .sqs-gallery-design-list .sqs-gallery-image-container { padding-right: 42px; } } That worked, thank you! How can I increase the font size without affecting all the summary blocks on my site? This is the only one as a 'List' though. Ziggy 1 Link to comment
Ziggy Posted May 21 Share Posted May 21 4 minutes ago, anthonyrichardson said: That worked, thank you! Could you mark my post as the solution, and give it a like? 4 minutes ago, anthonyrichardson said: How can I increase the font size without affecting all the summary blocks on my site? This is the only one as a 'List' though. Use this Custom CSS and adjust the font size: @media only screen and (min-width:767px) { section[data-section-id="6640587325d284476be03ca8"] // heading .summary-title { font-size:32px; } // body .summary-excerpt { font-size:24px; } } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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