Jump to content

Change the color of hover on links, not on buttons

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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
2 hours ago, tuanphan said:

try change to this class

 

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 

Edited by Aishwarya
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!

Edited by Aishwarya
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.