Jump to content

Change Hover colour of button

Recommended Posts

Site URL: https://yardbirdrestaurant.com/

Hi, 

I have tried lots of different code I have found online but it still doesn't appear to be working. 

I am trying to get the hover colour of the buttons across all of the site  and newsletter sign up buttons (including the header and footer) to turn #AF1D00 and keep the white text. 

Please could someone help! It would be greatly appreciated! 

 

Many thanks, 

 

Lily 

image.png

image.png

Link to comment
  • Replies 4
  • Views 2.1k
  • Created
  • Last Reply
22 minutes ago, Hecho said:

Site URL: https://yardbirdrestaurant.com/

Hi, 

I have tried lots of different code I have found online but it still doesn't appear to be working. 

I am trying to get the hover colour of the buttons across all of the site  and newsletter sign up buttons (including the header and footer) to turn #AF1D00 and keep the white text. 

Please could someone help! It would be greatly appreciated! 

 

Many thanks, 

 

Lily 

image.png

image.png

Hi Lily,

Let's try this

.primary-button-style-outline .sqs-block-button-element--small:hover, 
.primary-button-style-outline .sqs-block-button-element--medium:hover, 
.primary-button-style-outline .sqs-block-button-element--large:hover, 
.primary-button-style-outline .header-actions .btn:hover,
.primary-button-style-outline .black-bold .sqs-block-newsletter .newsletter-form-button:hover {
    color: #fff !important;
    border-color: #af1d00 !important;
    background: #AF1D00 !important;
}

image.png.1c2cfcba3b0084c4ea4fbcd499aa86e1.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
20 hours ago, Hecho said:

that works perfect thank you so much! 

 

do you also know how to get an announcement bar that colour as well? I am having trouble getting that to work?

Can you enable announcement bar & promotional popup? I don't see them here.

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

Archived

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.