Jump to content

Remove Underline from Links ONLY in header style fonts

Recommended Posts

Hi, can anyone help me out with some CSS?
I want to remove link underlines ONLY in header style fonts (H1, H2, H3 and H4)

(So not the header or footer part of the website, I've already found CSS for this)

Is there an code for this?

Many thanks!

Link to comment
  • Replies 1
  • Views 192
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 Try this in Custom CSS:

h1 a, h2 a, h3 a, h4 a {
  text-decoration:none !important;

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.