• Hi,

    I’m editing a website for a client and I’m struggling to change the colour of a button. The code is as follows:

    class="wp-block-file__button" download>Download</a></div>

    How would I go about changing the colour of the button?

    Any help would be appreciated, thanks!

Viewing 1 replies (of 1 total)
  • Hi,

    Please add the following CSS code in theme customize->Additional CSS section,

    .wp-block-file__button {

    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    }

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘‘wp-block-file__button’ Colour Change’ is closed to new replies.