Archived topic
How to Add Border Color to all my buttons in a site
3 replies · Started by sandeep kumar on April 15, 2022
Hi
I'm currently using this CSS to display the same button all over the site
/* Button color to blue */
.entry-content .gb-button-wrapper a.gb-button,
.entry-content .gb-button-wrapper a.gb-button:visited {
background-image: unset;
background-color: #1f74bf;
}
/* Set hover color */
.entry-content .gb-button-wrapper a.gb-button:hover {
background-color: #e7a003;
}
And now I need to add some modifications to it like adding a Border Color eg https://ibb.co/nsscvWZ
Please let me know how to do it
Thanks
Hi there,
Change your first CSS rule to:
.entry-content .gb-button-wrapper a.gb-button,
.entry-content .gb-button-wrapper a.gb-button:visited {
background-image: unset;
background-color: #1f74bf;
border-bottom-style: solid;
border-bottom-width: 5px;
border-color: #f00;
}
Change your border-color and width to suit
Perfect David
Thanks
You're welcome