[Support request] How to Add Border Color to all my buttons in a site

Home Forums Support [Support request] How to Add Border Color to all my buttons in a site

Home Forums Support How to Add Border Color to all my buttons in a site

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2190304
    sandeep kumar

    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

    #2190474
    David
    Staff
    Customer Support

    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

    #2190497
    sandeep kumar

    Perfect David

    Thanks

    #2190755
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.