Jump to content

Change color of hyperlink on hover

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

https://www.michaelaguocha.com/

(PW: AguochaAccess)


I think I figured it out for the most part. I have this code (pasted below)

But I would like a bit more of a fade in/out effect instead of an instant appearance if possible.

Also, if there's a way to make the highlighted areas shorter, that'll be appreciated.

 

section[data-section-id="6427f63b29751b4a10d42dab"]{
a:hover, a:hover span {
  background: #0E0D14
  }
}

 

Link to comment
  • Solution
On 4/8/2023 at 9:23 AM, Squarepegroundhole01 said:

https://www.michaelaguocha.com/

(PW: AguochaAccess)


I think I figured it out for the most part. I have this code (pasted below)

But I would like a bit more of a fade in/out effect instead of an instant appearance if possible.

Also, if there's a way to make the highlighted areas shorter, that'll be appreciated.

 

section[data-section-id="6427f63b29751b4a10d42dab"]{
a:hover, a:hover span {
  background: #0E0D14
  }
}

 

Change this code

section[data-section-id="6427f63b29751b4a10d42dab"]{
a:hover, a:hover span {
  background: #0E0D14
  }
}

to this

section[data-section-id="6427f63b29751b4a10d42dab"]{
a:hover, a:hover span {
  background: #0E0D14
  }
a, span, a:hover, a:hover span {
transition: all 0.3s ease;
}
}

 

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

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.