Jump to content

Customizing color & hover of one button

Recommended Posts

Site URL: http://https/pentagon-flugelhorn-7ba3.squarespace.com/

Hi there! I currently have all buttons on my site set to utilize the hover functionality. When you hover, the button background color is HSL 251°, 74%, 45% or #3d1ec8 with a white font.

On my Home page, I have two buttons: "Learn How I Can Help You" and "Contact Me".
I would like for both of these button to NOT have a hover feature but rather just have the button background color be HSL 251°, 74%, 45% or #3d1ec8 with a white font regardless of whether or not you're hovering (like the attached file of the "Contact Me" button)

What is the necessary code and where do I input?

Many thanks!


Screen Shot 2020-04-01 at 2.58.44 PM.png

Link to comment
  • Replies 3
  • Views 412
  • Created
  • Last Reply

@tuanphan Thank you so very much for the quick reply! 

I plugged in the code and the only change I've noticed is that the phone number button in the header and the "Learn How I Can Help You" button don't change color when you hover on them... The button still doesn't have a consistent background color.

To confirm, my goal is to have the "Learn How I Can Help You" button stay permanently purple with white writing regardless of whether or not you're hovering.

Note: I'd now like to only change this one button ("Learn How I Can Help You")instead of that one + "Contact Me"

Do you have another coding suggestion?

Link to comment


This topic is now archived and is closed to further replies.

  • 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.