Jump to content

Button Hover not working

Go to solution Solved by DavidStewart,

Recommended Posts

Hello, I'm trying to change all of the colors of my buttons on hover using this code, but its not working for some reason. 
I know the buttons are being targeted because if I add a shadow, it shows.  So why aren't the colours changing?

Code:

.sqs-block-button-element:hover {
color: #fff !important;
 background-color: #5f295f !important;
}

URL: https://www.fatbirdcreative.co.nz/

Note: I have taken out all of my custom CSS and it still does not work. 

Link to comment
3 hours ago, Fat_Bird_Creative said:

Hello, I'm trying to change all of the colors of my buttons on hover using this code, but its not working for some reason. 

Which buttons are not working? Not every button is a .sqs-block-button-element, you seem to have defined your own class sometimes. Your code above would only work on Squarespace buttons.

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Website Developer
e: melody@melodylee.tech


💻 Can't figure something out and want to learn? 💁‍♀️ 1-2-1 Squarespace session 
👩‍💻 Need some customisation for a design? 💁‍♀️ Custom Code help
 Did I help? 💁‍♀️ I like 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.