Jump to content

When form is a button can it have a hover colour?

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.wearefixology.co.uk/

Hello Forum,

I'm using a form block with the lightbox/button option - I would also like it to have the same design as my Primary Buttons. Which has a teal (#45A29A) outline and goes yellow (#FDDB27) on hover...?

I've made a page as an example - so the REGISTER INTEREST button is a form - top right is my BOOK button that has the yellow hover.....

My website: https://www.wearefixology.co.uk/form-with-button-examples
Password: ruth

Any ideas forum pals?

image.thumb.png.e9522aac992f6680ccd170e46f6e4b32.png

Link to comment

Try this:

.form-block .lightbox-handle {
  transition:all ease-in-out 300ms;
  &:hover {
    background-color:#fddb27 !important;
    opacity:1 !important;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
18 hours ago, TechyBecky_101 said:

Hi there - me again.

I use the inbuilt buttons in the simple list layout too - at the very bottom of this page - possible to have a hover on those too? Yellow - #fddb27

https://www.wearefixology.co.uk/classes-and-talks
password: ruth

Use this code

a.list-item-content__button:hover {
    background-color: #fddb27 !important;
    transition: all ease-in-out 300ms;
}

 

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
  • Solution
20 hours ago, TechyBecky_101 said:

Oh hello! And please could you help with some code for a yellow hover on these pages?

https://www.wearefixology.co.uk/register-your-interest

https://www.wearefixology.co.uk/contact

Password: ruth

Yellow - #fddb27

Use this

input.button.sqs-system-button.sqs-editable-button.sqs-button-element--primary:hover {
    background-color: #fddb27 !important;
    transition: all ease-in-out 300ms;
}

 

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.