Archived topic
How to Change Button Color All over my site?
3 replies · Started by sandeep kumar on October 6, 2021
Viewing posts 1–4 of 4
Hi
I am currently using the Generablocks button block. I have use gradient colour in my all buttons. But now I want to change the colour from gradient to yellow all over my site. manually doing that will take more time. Can you please tell me how to do it via CSS
Thanks
Try this CSS:
.entry-content .gb-button-wrapper a.gb-button,
.entry-content .gb-button-wrapper a.gb-button:visited {
background-image: unset;
background-color: #ff0;
}
/* Set hover color */
.entry-content .gb-button-wrapper a.gb-button:hover {
background-color: #f00;
}
Great it Works :)
Glad to hear that!
This archived topic is closed to new replies.