Header-button colour

Hello,
I wonder how header-button border, background & text colour can be changed.
Thank you,
M

Hi M,

You can try these CSS code below:

.header-button:hover {
    background-color: red;
    color: darkred;
}

.header-button {
    border-color: red;
    color: red;
    background-color: darkred;
}

Regards,
Awan

Thank you Awan!

It worked perfectly for background colour, but I had some issues with font colour. So here is what I ended up with:

echo ‘’ . esc_html($header_button) . ‘’;

in functions.php

Thank you!
M