Jump to content

How to change the color of hyperlinks when hovering, but not the color of the text within buttons?

Recommended Posts

13 hours ago, lenouch said:

Site URL: https://www.theneuroticnotebook.com/

I used this code to change the color of hyperlinks when hovering.

  a:hover {

    color: red !important;

}

It works great, but I don't wan the color of the text within the (red) buttons to turn red.

Thank you for your help!

 Lena

You mean only want the underline turn read instead of the whole text?

image.png.ae749069fa32b9198db67d8e0418388e.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

 

Thank you,  the issue is not about the header. There are links inside the pages (the Instagram on my page or the name of my publisher on the About page) I would like the text to turn red when hovering & selecting.

This worked with the code

  a:hover {

    color: red !important;

}

But I don't want the text inside the red buttons  "indiebound", " Barnes& Noble" "Amazon" on the Home page and on the Get me! page to turn red. Thank you for your help!

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.