Sahil007 Posted October 4, 2022 Share Posted October 4, 2022 Site URL: https://www.provocativo.com/news Hi there, I'm working on trying to match my blog title's line height to the ones on the rest of the site. The problem is I can't seem to get it tighter than attached example. On the homepage the line height scales along nicely when decreasing font size with CSS, but not with blog titles. Any help would be super appreciated! CSS used: /* CSS FOR MOBILE */ @media only screen and (max-width: 767px) { /* Start Insert Code for Mobile*/ // Header h1 h1 {font-size:4rem !important} // Header h2 h2 {font-size:2.8rem !important} // Header h3 h3 {font-size:2.3rem !important} // Paragraph p {font-size:1rem !important} // blog list // h1.blog-title a { font-size: 2.8rem !important; line-height: 1rem !important;} // blog pagination // .item-pagination-title {font-size: 1.2rem !important;} } Link to comment
Solution Ziggy Posted October 4, 2022 Solution Share Posted October 4, 2022 Try this Custom CSS: .blog-basic-grid .blog-title { line-height:1.1rem !important; } tuanphan and Sahil007 1 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
Sahil007 Posted October 4, 2022 Author Share Posted October 4, 2022 Woooow, that did the trick! Thank you so much for your help!! 🙌 🙌 🙌 Link to comment
Ziggy Posted October 4, 2022 Share Posted October 4, 2022 4 minutes ago, Sahil007 said: Woooow, that did the trick! Thank you so much for your help!! 🙌 🙌 🙌 No problem, can you mark my reply as the answer to your question to help others in the future? Thanks! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (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