Changing the WooCommerce banner colour for 'product added to basket'

This topic has 3 replies, 2 voices, and was last updated 4 years, 3 months ago ago by ianbarker24

  • Avatar: ianbarker24
    ianbarker24
    Participant
    March 15, 2021 at 17:19

    Hi

    Can you tell me the css code needed to change the background colour of the ‘product added’ popup message when a product is selected to the cart please? It is the default green at the moment and I would like to change it in tune with my theme colours, i.e. #4f3b4a.

    I’m also getting a warning that Max Input Vars is 1000 which is the minimum required. How do I increase this please?

    Many thanks

    2 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 16, 2021 at 07:19

    Hello ianbarker24

    Thank you so much for contacting us!

    Add this code in Theme Options > Theme custom CSS:

    .sticky-message-on .content-page .woocommerce-message {
        background-color: #4f3b4a !important;
    }
    .et-notify[data-type=success] {
      background: #4f3b4a;
    }

    Read more – https://www.8theme.com/documentation/xstore/theme-installation/xstore-theme-requirements/

    The PHP Max Input Vars is the maximum number of variables your server can use for a single function. To work properly with a modern WordPress theme set this value to 3000. If the value is too low, you may experience problems such as can’t save menu settings when added a lot of items there.

    Robert Hall

    Avatar: ianbarker24
    ianbarker24
    Participant
    March 16, 2021 at 12:55

    Thank you

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

The issue related to '‘Changing the WooCommerce banner colour for 'product added to basket'’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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