Hello everyone!
Could somebody help with how I can invert the color of the buttons on hover?
Thank you In advance!
Hello everyone!
Could somebody help with how I can invert the color of the buttons on hover?
Thank you In advance!
Hello @Farid117
Would you mind to share your URL website? with password if its protected.
Thanks!
Yes, of course!
.button:hover{
background-color: #000;
}
Please add this css in your base.css file.
Thanks.
Hi @Farid117
If you want to invert the colors of the button when hovered, please follow the instructions below.
NOTE: Inverting transparent color is always going to be transparent. Therefore, text will be hidden
a.button.button--primary:hover, a.button.button--secondary:hover {
color: rgba(var(--color-button),var(--alpha-button-background));
background-color: rgb(var(--color-button-text));
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you very much Ribe!
It has worked!