Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1039746

    Hello

    How can I change or customize the color of the background and the font, of the woo commerce button ? The buttons appear with a green or red background color, when I :

    1. add a prodcut to the chart,
    2. put in a invalid coupon code
    3. update the chart
    4. put in invalid or non text in the check out page

    and probably on other pages too, I have not seen yet

    Thanks for your help
    Kind regards
    Roger

    #1039874

    Hey Roger,

    Please try the following in Quick CSS under Enfold->General Styling:

    .woocommerce-page .button {
      background:yellow !important;
    }

    Best regards,
    Rikard

    #1039947

    Hi Rikard

    Thanks for answer. Sorry for missunderstanding. I dont mean this button. I mean the big button ( kinde of banner ) who shows up when I update the chart with new product for example.

    The Banner shows when:
    1. add a prodcut to the chart,
    2. put in a invalid coupon code
    3. update the chart
    4. put in invalid or non text in the check out page
    …. and probably on other pages too, I have not seen yet

    See my Screenshots:
    Screenshot 1
    screenshot 3
    screenshot 2

    Thanks for your help
    Kind regards
    Roger

    #1040009

    Hi,
    This is the css for the green success message (add to cart) & the red error messages (in the check out)
    please adjust the colors to suit:

    ##top div.woocommerce-message {
        border-color: #8BAF5B !important; 
        background-color: #E0F1B5 !important; 
        color: #4F5F39 !important; 
    }
    ul.woocommerce-error {
        background-color: #F0DCDB !important; 
        color: #941210 !important; 
    }

    *Please note that I may have completed a order in your cart while testing, sorry :)

    Best regards,
    Mike

    #1044516

    Hi Mike
    Thanks for your answer and the code. I try out your code, but it says there are two errors in it. ?!

    ( There are 2 errors which must be fixed before you can update this file.)

    Could you help in that again !? Thanks

    kind regards
    roger

    #1044678

    Hi,
    It looks like when I edited my answer our site tried to add a link, please try this code:

    #top div.woocommerce-message {
        border-color: #8BAF5B !important; 
        background-color: #E0F1B5 !important; 
        color: #4F5F39 !important; 
    }
    ul.woocommerce-error {
        background-color: #F0DCDB !important; 
        color: #941210 !important; 
    }

    Best regards,
    Mike

    #1045490

    Hi Mike
    Super. That works. Thanks a lot.
    kind regards
    Roger

    #1045492

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘woo commerce button color , green and red’ is closed to new replies.