r3lai Posted July 31, 2023 Posted July 31, 2023 Site: https://lynx-haddock-7k4d.squarespace.com/ Password: abcd1234 I could use some help with some CSS trickery I'm looking to align the text block to the very bottom of the section, with no space in between. There doesn't seem to be any padding/margin to work with. Can someone start me off on how to solve a problem like this? THanks.
Solution Ziggy Posted July 31, 2023 Solution Posted July 31, 2023 Try this with an adjustment to the line height property: #block-0915ebafdc554f9da0b3 { [data-website-fonts] h1 { line-height: 0.7em !important; } } Custom CSS is playing up, so if this doesn't immediately work, save the CSS and refresh the page. tuanphan 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
r3lai Posted July 31, 2023 Author Posted July 31, 2023 Amazing! Thank you. How did you figure out that it is 7em?
Ziggy Posted August 1, 2023 Posted August 1, 2023 10 hours ago, r3lai said: How did you figure out that it is 0.7em? Trial and error in Chrom Dev Tools. 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment