Jump to content

Change the color of hover on links, not on buttons

Recommended Posts

  • Replies 6
  • Views 812
  • Created
  • Last Reply
8 minutes ago, tuanphan said:

Did you use Squarespace setting or custom code? If custom code, which code did you use? Can you post here? We can tweak it.

Thanks a lot for the reply! I used the following code:

/* Page content link color */
#page a:hover {
    background-image: linear-gradient(to right,currentColor 100%,currentColor 0) !important;
    color: red;
}

Link to comment
21 hours ago, Aishwarya said:

Thank you! I tried this. It does work but it removes the hover & click color on hyperlinks as well. I actually want the hover &click color (#e64d4f)  on all hyperlinks except for the buttons & back to top. 

 The color change on hover is only working for external links & not for internal links within my website. Looking for a solution to make it work for both external and internal links. Really appreciate any help on that. Thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.