I’m trying to change the standard green color to another color. I have added this code in my style.css file:
.dwqa-container .dwqa-btn-success {
color: #FFFFFF;
background-color: #000000;
border-color: #000000;
}
.dwqa-container .dwqa-btn-success:hover,
.dwqa-container .dwqa-btn-success:focus,
.dwqa-container .dwqa-btn-success:active,
.open .dropdown-toggle.dwqa-container .dwqa-btn-success {
background-color: #848484;
border-color: #848484;
color: #FFFFFF;
opacity: 1;
}
The button behaves when the mouse hovers over it, but it returns to green once the mouse moves away from the button. Any ideas? Thanks in advance!
Hi,
I have used your codes in our demo and see that it still works fine, you can send me your site and a screenshot for further checking, I will help you resolve it.
Regards,
I replied below. Thanks for your help! Sincerely, Kayla
Thank you, Dominic, for your reply! My website can be found here: http://www.lillis.co/business_community/
This is how it looks without the mouse hovering over it. (Normal state)
This is how it looks with the mouse hovering over it. For some reason the print screen didn’t capture the mouse.
Thanks again for your help!
Right now, I can not find Q&A page from your site, you can try the following code:
.dwqa-container .dwqa-btn-success {
color: #FFFFFF !important;
background-color: #000000 !important;
border-color: #000000 !important;
}
.dwqa-container .dwqa-btn-success:hover,
.dwqa-container .dwqa-btn-success:focus,
.dwqa-container .dwqa-btn-success:active,
.open .dropdown-toggle.dwqa-container .dwqa-btn-success {
background-color: #848484 !important;
border-color: #848484 !important;
color: #FFFFFF !important;
opacity: 1;
}
Hope this helps !
Please login or Register to submit your answer