Jump to content

Change a link text color when hover.

Go to solution Solved by tuanphan,

Recommended Posts

Hey everyone.
I already managed to get rid of the underline from links easily but now I'm looking to inject a simple code to change the text color when hovering over the link. 

I've tried referencing the class, anchors and even the whole body.
I've also tried changing the text color even without the hover option.
For some reason, it doesn't seem to be working. 

The code I used to test this was 

	a:hover {
 		color: #6768b0 !important;

Am I missing something?
Could really use some help. Thanks!

Link to comment

Thank you so much, that worked perfectly!
Could you please explain the logic behind that bit of code you added?
We really don't know much about css so it'll certainly help us understand a few things in the future 🙂
Thanks again! 

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.