Jump to content

Remove colour and underline on hyperlinks and replace with a hover over colour, please help!

Recommended Posts

In the clients section I am trying to remove the colour and underline on hyperlinks and replace with a hover over colour. I have managed to do this however my code is affecting my site title and turning it black, and it should be white. 

The code I am using currently is - 
 

/* link hover color */
a {
  color: inherit !important;
  text-decoration: none !important;
}

a:hover {
  color: #5C63E4 !important;
  text-decoration: none !important;
}

//remove underlines from hyperlinks//

.sqs-block-html a {background-image:none!important}

/* Remove non-background image underline for heading and paragraph links */
h1 a, h2 a, h3 a, h4 a, p a {text-decoration: none!important}



Site password - test

Link to comment

Can you share the website URL?

I can't see anything in your CSS that would turn the website black, but I'd be happy to take a look.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
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

Solved I think with 
 

/* link hover color */
.fe-63cfec583e981e02c537c53e a {
  color: inherit !important;
  text-decoration: none !important;
}

.fe-63cfec583e981e02c537c53e a:hover {
  color: #5C63E4 !important;
  text-decoration: none !important;
}

//remove underlines from hyperlinks//

.sqs-block-html a {background-image:none!important}

/* Remove non-background image underline for heading and paragraph links */
h1 a, h2 a, h3 a, h4 a, p a {text-decoration: none!important}

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.