Button colour change - by Jonathan - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 10 years, 8 months ago ago by Robert Hall

  • Avatar: jonofat
    Jonathan
    Participant
    June 15, 2015 at 18:46

    Hi

    A suggestion for a theme update would be making it easier to change the colour of buttons. I am really struggling to do so. For example on the login page I am trying:

    .button.btn.btn-black.big.pull-left {
    background-color:#aace46;
    }

    but it does nothing. I have tried a few different other lines too but I can’t get any of them to work. Please help!

    Thank you

    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    June 15, 2015 at 18:57

    Hello,

    Please provide us with link to the login page and wp-admin access in Private Content.

    Regards,
    Robert Hall.

    Avatar: jonofat
    Jonathan
    Participant
    June 15, 2015 at 19:03

    Hi

    I would if the site was live but it’s running on localhost stil. Will the page name help? The slug shows

    my-account/

    Avatar: Robert Hall
    Robert Hall
    Participant
    June 15, 2015 at 19:05

    Please try to add this code in custom.css file

    .login-form .btn{
    background-color: red;
    }

    Regards,
    Robert Hall.

    Avatar: jonofat
    Jonathan
    Participant
    June 15, 2015 at 19:11

    Strange. It doesn’t work where I had it in the custom.css but then I moved it up above some other css and it now works. Anyway, thank you Sir, that works! 🙂

    Avatar: Robert Hall
    Robert Hall
    Participant
    June 15, 2015 at 20:00

    You’re welcome!

    Regards,
    Robert Hall.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘button colour change’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.