TiaHughesDesign Posted February 13, 2021 Share Posted February 13, 2021 Site URL: https://www.tiahughes.com/ Hello, I have added a custom hover state to the buttons on my site so they change from outlined to a filled colour. I have one button however that sits on a section background of the same colour. I am having trouble changing the hover state colour of this one button, can someone help? Thank you in advance. Link to comment
creedon Posted February 14, 2021 Share Posted February 14, 2021 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
TiaHughesDesign Posted February 14, 2021 Author Share Posted February 14, 2021 Worked perfect! Thank you so much 🙂 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.