saubuchon24 Posted December 18, 2023 Share Posted December 18, 2023 Hello, I was wondering if there is any way to add a hover effect to buttons/links using code? I want there to be a colored background appear on specific buttons and links when I hover over them. I listed a an example from another site to help you better solve the problem! thank you! https://refreshedmemories.squarespace.com/config/pages Password: Butler IMG_2931.MOV Link to comment
AlexSan Posted December 18, 2023 Share Posted December 18, 2023 @saubuchon24, don't have permission to access your site. Link to comment
Web_Solutions Posted December 19, 2023 Share Posted December 19, 2023 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; } AlexSan 1 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
saubuchon24 Posted December 19, 2023 Author Share Posted December 19, 2023 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) Link to comment
Solution Web_Solutions Posted December 19, 2023 Solution Share Posted December 19, 2023 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment