Squarespace Training: Remove Underline on Hyperlinks [Code Provided]

Squarespace Training 2021, Squarespace SEO, Spacebar Agency

All the code to remove the underline from all text elements throughout your site.

// Removes underline from headings h1 a, h2 a, h3 a, h4 a { text-decoration: none !important; } // Removes underline from Paragraph 1 text .sqsrte-large a { text-decoration: none !important; } // Removes underline from all paragraph text p a { text-decoration: none !important; } // Removes underline from monospace code a { text-decoration: none !important; } // Removes underline from footer p text Footer p a text-decoration: none !important; }

Remove Underline From Headings

The code below will remove the code from ALL heading styles only.

// Removes underline from headings h1 a, h2 a, h3 a, h4 a { text-decoration: none !important; }

Remove Underline from Paragraphs

This code below will remove code from ALL paragraph styles only.

// Removes underline from all paragraph text p a { text-decoration: none !important; }

This code below will remove code from Paragraph 1 & Monospace styles (that way, regular paragraph text on your site keeps the underline).

// Removes underline from Paragraph 1 text .sqsrte-large a { text-decoration: none !important; } // Removes underline from monospace code a { text-decoration: none !important; }

Remove Underline from Footer

And this may be the most important line of code! This code below will remove the underline on hyperlinks for any paragraph text in your footer. If you like to do it for Headings or Monospace/code text, just add the word Footer before the code (above) that targets the elements you want to adjust.

// Removes underline from footer p text Footer p a text-decoration: none !important; }
Launch Happy

We help creatives turn their passion into a marketable, profitable business. Since 2014, We’ve become the top search specialist helping clients get more traffic on their Squarespace website. Today, we have built over 200+ websites & worked on over 750 SEO projects on Squarespace.

http://launchhappy.co
Previous
Previous

Squarespace SEO Content Strategy: The Ultimate Guide!

Next
Next

Write The Best SEO Site Descriptions For Squarespace In 2023