Jump to content

Changing my button color on hover

Go to solution Solved by creedon,

Recommended Posts

Posted

Hi! I really want to update the color of my buttons to change when hovered upon ( black "email me" and arrow button turn to blue when hovered on) I found this code 

.small-button-shape-pill .sqs-block-button .sqs-block-button-element--small:hover {
 background-color: #000000 !important;
 color: #0000ff !important
}

and tried to use it but with my site colors and its not working, also if someone can help me change the nav bar page im currently on to be blue, Id appreciate it!! 🙂

  • Solution
Posted

Add the following to Design > Custom CSS.

@media ( hover : hover ) {

  .primary-button-style-solid .site-wrapper .sqs-button-element--primary:hover {
  
    background-color : blue;
    
    }
    
  }

This is for v7.1.

This is a site-wide effect. If you need to restrict the effect let us know and we may be able to help.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.