How to change backgroung color woocommerce message ?

This topic has 4 replies, 3 voices, and was last updated 4 days, 4 hours ago ago by Tony Rodriguez

  • Avatar: Marc_Savall
    Marc Savall
    Participant
    December 9, 2025 at 16:36

    Customer Area / Orders : “No orders have been placed yet.” Browse products…
    The message appears on a blue background. I would like to adapt it to my branding.
    I tried changing the style in the theme’s custom CSS section, but it doesn’t work.
    https://www.greennature.fr/mon-compte/orders/

    /* Remplace le bleu du message “Aucune commande…” – coller ici */
    .woocommerce-notices-wrapper .woocommerce-info,
    .woocommerce-notices-wrapper .woocommerce-info::before,
    .woocommerce-notices-wrapper .woocommerce-info::after {
    background: #f2f2f2 !important;
    background-image: none !important;
    color: #333 !important;
    border-left: 4px solid #4CAF50 !important;
    }

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 9, 2025 at 19:40

    Hello @Marc Savall,

    Please try using the following custom CSS snippet to modify the alert on this specific page only:

    .woocommerce-MyAccount-content .woocommerce-info {  
        background: #f2f2f2;  
        color: #333;  
        border-left-color: #4CAF50;  
    }

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    December 9, 2025 at 22:27

    Thanks for the support! My topic “How to change backgroung color woocommerce message ?” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 9, 2025 at 22:27

    Dear Marc Savall,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘How to change backgroung color woocommerce message ?’' 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.