Jump to content

Change line spacing in summary block excerpt?

Recommended Posts

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

sq-line-spacing-issue-summary-block.jpg

Edited by GKG
forgot to add url
Link to comment
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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 Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 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.
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (contain affiliate links)


 

Link to comment
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 Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 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.
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (contain affiliate links)


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.