cmuzyka Posted July 21, 2022 Share Posted July 21, 2022 (edited) Does anyone have CSS code to adjust the line height for certain paragraph or header styles globally? I want to decrease the line height of p2 across the entire site but leave p1 and p3 as they are in the Site Styles. iread.squarespace.com pass: 2022 Edited July 21, 2022 by cmuzyka Link to comment
tuanphan Posted July 22, 2022 Share Posted July 22, 2022 Try adding to Design > Custom CSS p:not(.sqsrte-large):not(.sqsrte-small) { line-height: 20px !important; } olaberge 1 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
cmuzyka Posted September 2, 2022 Author Share Posted September 2, 2022 Hey @tuanphan - I've reworked things a bit and want to apply this to p1 instead. I tried changing it to the code below but it didn't work. Do you have suggestion? p:not(.sqsrte-medium):not(.sqsrte-small) { line-height: 20px !important; } Link to comment
tuanphan Posted September 3, 2022 Share Posted September 3, 2022 4 hours ago, cmuzyka said: Hey @tuanphan - I've reworked things a bit and want to apply this to p1 instead. I tried changing it to the code below but it didn't work. Do you have suggestion? p:not(.sqsrte-medium):not(.sqsrte-small) { line-height: 20px !important; } Hi, 3 p have these class names p.sqsrte-large p:not(.sqsrte-large):not(.sqsrte-small) p.sqsrte-small olaberge 1 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
freshlypressed Posted January 6 Share Posted January 6 Can you help me reduce the line height in the description of a simple list slider? I'm creating a testimonial slider and there's just too much space between the name of the user, title and location Link to comment
tuanphan Posted January 8 Share Posted January 8 On 1/6/2023 at 8:08 AM, freshlypressed said: Can you help me reduce the line height in the description of a simple list slider? I'm creating a testimonial slider and there's just too much space between the name of the user, title and location Can you share link to page where you use List? We can check easier 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
freshlypressed Posted January 9 Share Posted January 9 Of course! this is the link: https://dory-chicken-mnfh.squarespace.com and the pw: Ec12345 Link to comment
tuanphan Posted January 13 Share Posted January 13 On 1/10/2023 at 1:01 AM, freshlypressed said: Of course! this is the link: https://dory-chicken-mnfh.squarespace.com and the pw: Ec12345 Add to Design > Custom CSS .list-item-content__description p { margin-top: 2px !important; margin-bottom: 2px !important; } 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
freshlypressed Posted January 13 Share Posted January 13 8 hours ago, tuanphan said: Add to Design > Custom CSS .list-item-content__description p { margin-top: 2px !important; margin-bottom: 2px !important; } Thank you! it worked like a glove ❤️ 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