Jump to content

Adding underlined links in blog

Recommended Posts

Site URL: https://www.inspirewellnessandnutrition.com/inspireblog/the-superpowers-of-vitamin-d

Hey guys!

I am trying to add underline links to CSS but the code below applies to all links on website (buttons, navigation titles, etc.) Is there a way to only have it apply to links within blogposts only? 

/*underline links*/

.sqs-block-content a, .sqs-block-content a:hover {
  text-decoration: underline !important;


Thanks in advance!

Link to comment

Hi. Add to Design > Custom CSS

/* blog post link underline */
body.collection-type-blog .html-block p a {
    text-decoration: underline;


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

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.