Jump to content

Change colour of site title hover when background is the same

Recommended Posts

  • Replies 7
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 9/25/2023 at 11:47 PM, robfeltrin said:

Is there a way to make a site title change its hover coloud conditionally to the background it is over? 

It is now set for #f9f9f9 for example, but there is a section and footer with same colour background. 

 

I see you figured it out with this code?

#collection-650b40e54682fa6bbaf0a6ee .header-title-text a:hover {
    color: #f9f9f9;
}

 

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.