Hi I would like to change the button colour on my site content but nothing else. Which is why I will attempt to use quick css to achieve this rather then the settings styling panel.
Okay it’s straight foward enough I just do this
.button {
background-color: #3d4352!important;
border-color: #3d4352!important;
}
The problem is when I do this I loose the hover effect. Normally when I hover over a button its background colour gradually goes lighter. But when I set its colour via css it fails. How can I reproduce this effect via the css?
Hi!
Try adding an hpver state to your code:
.button:hover {
background-color: red !important;
border-color: red !important;
}
Best regards,
Josue