gdze Posted April 25, 2020 Share Posted April 25, 2020 Hi There, I am trying to edit the text of a single block on a page. Right now, I have the following CSS but the only thing that is changing is the background. Is there some other code to adjust the line height i need to use? None of the text seems to change whenever I apply a style properties directly to it. Help! #block-bd6090c6676705461de7 { background: green; line-height: 2.0; } Link to comment
tuanphan Posted April 25, 2020 Share Posted April 25, 2020 With line height, try this #block-bd6090c6676705461de7 p { line-height: 20px; } or #block-bd6090c6676705461de7 * { line-height: 20px; } 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
sophie.elizabeth Posted July 23, 2020 Share Posted July 23, 2020 Hi I have tried to use custom line height for a specific block see below: #block-1a9d346fabceab370dcb * { line-height: 15px; } This only changes the paragraph of text how do I change the line height of the title above, its H4 and image overlay. Link to comment
tuanphan Posted July 23, 2020 Share Posted July 23, 2020 5 hours ago, sophie.elizabeth said: Hi I have tried to use custom line height for a specific block see below: #block-1a9d346fabceab370dcb * { line-height: 15px; } This only changes the paragraph of text how do I change the line height of the title above, its H4 and image overlay. Can you share link to page in screenshot? 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
Ripple1 Posted April 2, 2021 Share Posted April 2, 2021 On 7/23/2020 at 7:09 AM, tuanphan said: Can you share link to page in screenshot? We can check easier. Here's how I did it on my site and it worked fine. The distance between the lines in the header changed without negatively impacting the paragraph text. #block-yui_3_17_2_1_1616784572971_8286 h4 {line-height: 5px;} Link to comment
tuanphan Posted April 5, 2021 Share Posted April 5, 2021 On 4/2/2021 at 10:32 PM, Ripple1 said: Here's how I did it on my site and it worked fine. The distance between the lines in the header changed without negatively impacting the paragraph text. #block-yui_3_17_2_1_1616784572971_8286 h4 {line-height: 5px;} And you can use this tool to find block id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment