Jump to content

Changing hover state of only one button

Recommended Posts

  • Replies 2
  • Views 630
  • Created
  • Last Reply

Add the following to Design > Custom CSS.

.small-button-style-outline #block-yui_3_17_2_1_1613012135772_5855 .sqs-block-button-element--small:hover {

  background-color: red !important;
  border-color: red !important;
  color: green !important;
  
  }

This is for a v7.1 site and specific to the OP's needs.

You will of course want to change the colors.

Notice how I replaced the .sqs-block-button class with the id for that button block. You will need to replicate the selector for each button you want different from the rest.

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.

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.