Jump to content

The button hovering effect doesn't work for my button

Recommended Posts

Site URL: https://xiaoxuanwu.com/oasis-patient-log

I want to customize my button in the "jump to" section. I am using the code

.sqs-block-button-element{
  background:#c1756c;
  border-radius: 50px;
}

.sqs-block-button-element:hover {

  background:#bc918e;

  border-radius: 50px;

box-shadow: 0px 2px 5px rgba(0,0,0,.3)

}

The button style has changed, but the hovering effect is still default to the original Squarespace style. How can I change it? 

Link to comment
47 minutes ago, cclia said:

Site URL: https://xiaoxuanwu.com/oasis-patient-log

I want to customize my button in the "jump to" section. I am using the code

.sqs-block-button-element{
  background:#c1756c;
  border-radius: 50px;
}

.sqs-block-button-element:hover {

  background:#bc918e;

  border-radius: 50px;

box-shadow: 0px 2px 5px rgba(0,0,0,.3)

}

The button style has changed, but the hovering effect is still default to the original Squarespace style. How can I change it? 

Try this

#block-yui_3_17_2_1_1609261134557_172840 + .row .sqs-block-button-element:before {
  display: none;
}
.sqs-block-button-element{
  background:#c1756c !important;
  border-radius: 50px !important;
}

.sqs-block-button-element:hover {
  background:#bc918e !important;
  border-radius: 50px !important;
  box-shadow: 0px 2px 5px rgba(0,0,0,.3)
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.