mdemartin Posted October 20 Share Posted October 20 Hi - on the following page in the section that has grass video background. This is a People section. The Title is long and wraps to three lines. There is not a way to decrease the line spacing. Does anyone have code that will enable me to decrease this line spacing? Thank you in advance. https://ttc-2023.squarespace.com/michael Password is: password Link to comment
Solution Vigasan Posted October 20 Solution Share Posted October 20 (edited) For custom CSS, you can try the following code: [data-section-id="65327c9656ab0f0bd618df3a"] .list-section-title p{ line-height: 1em !important; } Edited October 20 by Vigasan If an answer I provide helps you, please mark it as the answer so others can easily access it as well. I'm a Squarespace Authorized Trainer, Squarespace Expert, and Circle Member and I've been helping my clients as well as those here in the forum and in various Squarespace groups with custom coding and support for Squarespace websites. I would love to help you in any way I can. Squarespace Plugins | Book Live Help | Squarespace Video Tutorials | Buy Me a Coffee Link to comment
Web_Solutions Posted October 20 Share Posted October 20 6 minutes ago, mdemartin said: Hi - on the following page in the section that has grass video background. This is a People section. The Title is long and wraps to three lines. There is not a way to decrease the line spacing. Does anyone have code that will enable me to decrease this line spacing? Thank you in advance. https://ttc-2023.squarespace.com/michael Password is: password Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. You can change the value 1 to 1.1 or 1.2 or as you want. [data-section-id="65327c9656ab0f0bd618df3a"] .list-section-title p{ line-height: 1 !important; } mdemartin 1 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
mdemartin Posted October 21 Author Share Posted October 21 14 hours ago, Web_Solutions said: Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. You can change the value 1 to 1.1 or 1.2 or as you want. [data-section-id="65327c9656ab0f0bd618df3a"] .list-section-title p{ line-height: 1 !important; } Thank you! Link to comment
mdemartin Posted October 21 Author Share Posted October 21 14 hours ago, Web_Solutions said: Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. You can change the value 1 to 1.1 or 1.2 or as you want. [data-section-id="65327c9656ab0f0bd618df3a"] .list-section-title p{ line-height: 1 !important; } Thank you! 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