Jump to content

Help with inverting text colour when it passes over text

Recommended Posts

  • Replies 4
  • Views 725
  • Created
  • Last Reply

Top Posters In This Topic

10 hours ago, tuanphan said:

Try some code like this

header#header {
    mix-blend-mode: difference;
}
a#site-title {
    color: #fff !important;
}

 

thank you!

this worked for the site title, but it actually made the header links disappear. could you help with a solve for that as well?

Link to comment
13 hours ago, MWR said:

thank you!

this worked for the site title, but it actually made the header links disappear. could you help with a solve for that as well?

Try this code under

div.header-nav-item a {
    color: #fff !important;
}
a.icon {
    color: #fff !important;
}

 

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
On 5/26/2024 at 3:54 AM, tuanphan said:

Try this code under

div.header-nav-item a {
    color: #fff !important;
}
a.icon {
    color: #fff !important;
}

 

yes! that worked perfectly 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.