Jump to content

Edit font and colour of links with a hover state

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://flower-turquoise-bt9w.squarespace.com/

Hi, can anyone help with this: 

I've created some links with a hover state on my Homepage (operating as an alternative navigation bar) and I can't seem to edit the colour or font of these links, both in hover and default state. I've included the code I've used here and also links to my site and codes to access it.

The links I'm referring to are highlighted in the screenshot below.

https://flower-turquoise-bt9w.squarespace.com/

Password: JosephDoody24

Many thanks in advance!

Sam

Screenshot 2024-09-18 at 11.53.22.png

Screenshot 2024-09-18 at 11.54.06.png

Link to comment
  • Replies 6
  • Views 371
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 9/25/2024 at 9:00 PM, spantchux said:

Yes, opacity changes on hover but I wanted to know if it's possible to change the colour to a different hex code altogether on hover?

Use this

div#block-yui_3_17_2_1_1726066017488_2037 h1 a:hover {
    opacity: 0.5 !important;
     color: #f1f !important;
}

image.png.643d011906b3e9c96ad9caf4da009b5b.png

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.