GKG Posted October 27, 2023 Share Posted October 27, 2023 (edited) Is it possible to change the excerpt text line height in a summary block? In product details, I've entered it with the space because it looks better on the product page. But I'd prefer the excerpt not show the extra space on the main page in the summary block. Is there a way to code to remove the spacing between lines only on the summary block excerpts? Screenshot attached Edited October 27, 2023 by GKG forgot to add url Link to comment
melody495 Posted October 27, 2023 Share Posted October 27, 2023 Try this? This targets all summary blocks. .summary-item .summary-excerpt p{ line-height:0px; } -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
GKG Posted October 27, 2023 Author Share Posted October 27, 2023 @melody495perfect fix! Thank you!! Link to comment
melody495 Posted October 27, 2023 Share Posted October 27, 2023 27 minutes ago, GKG said: @melody495perfect fix! Thank you!! You're very welcome 🙂 Please mark as the solution if worked -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (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