Jump to content

Add hover effects to buttons/links

Go to solution Solved by Web_Solutions,

Recommended Posts

10 hours ago, AlexSan said:

@saubuchon24, don't have permission to access your site.

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.sqs-block-button-element {
    background: transparent !important;
    color: #159d50 !important;
    border: 0 !important;
    transition: 0.3s !important;
}
.sqs-block-button-element:hover {
    background: #159d50 !important;
    color: #fff !important;
    border: 0 !important;
    opacity: 1 !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • Solution
40 minutes ago, saubuchon24 said:

that worked for all the buttons, is there any way to make this only apply to the accordion block and the links inside of the accordion (This is found in the footer of my site)

Here is the code

.accordion-block p{
    margin: 0 !important;
}
.accordion-block a {
    background: transparent !important;
    border: 0 !important;
    transition: 0.3s !important;
    padding: 10px;
    text-align: center !important;
    display: inline-block;
}
.accordion-block a:hover {
    background: #159d50 !important;
    color: #fff !important;
    border: 0 !important;
    opacity: 1 !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.