Jump to content

How to not have an underline hyperlink on a page

Go to solution Solved by Lesum,

Recommended Posts

  • Replies 3
  • Views 976
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

@surf2023 Were you aiming to have the underline appear only on hover? If so, here's a code snippet that will achieve this effect:

a {
	text-decoration: none !important;
}
a:hover {
	text-decoration: underline !important;
}
header a {
	background-image: none !important;
}
header a:hover {
	text-decoration: underline !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? 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.