Support » Plugin: WooCommerce » Cart Menu Text is White

  • If you go to the website, you’ll see a cart icon in the menu, if you hover over that it will be appear empty, but if you drag your mouse over it, it will select the text and you can see it, meaning the text colour is white for some reason. It’s more apparent if you add a product to cart, the product name will be white. All the other pages are fine though, its only in that cart menu thing that the text colour is white. How do i fix this?

    • This topic was modified 10 months, 3 weeks ago by mantum.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    please add the below CSS in your active theme style.css or in your customizer in WordPress.

    .page-id-11 .ast-site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {color:#222222}

    please check and let me know if any

    Thanks

    Thread Starter mantum

    (@mantum)

    I used that css and the text when there’s nothing in the cart is now black, but if I add a product, the title is white unless i hover over it, then it turns blue.

    Hello,

    please add below CSS

    .single-product .ast-site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {
        margin: 1.41575em;
        color: #222222;
    }
    
    .single-product .woocommerce .widget_shopping_cart .total strong, .woocommerce.widget_shopping_cart .total strong {
        min-width: 40px;
        display: inline-block;
        color: #222222;
    }
    
    .single-product .ast-site-header-cart .widget_shopping_cart .cart_list a, .woocommerce .ast-site-header-cart .widget_shopping_cart .cart_list a {
        font-weight: 400;
        padding: 0;
        border-width: 0;
        color: #222222;
    }

    if you want to change color then change #222222 to whatever you want.

    Thanks

    Thread Starter mantum

    (@mantum)

    Thanks, that works, but only on the shop and single product page. On home page the text is white again

    Thread Starter mantum

    (@mantum)

    ok so i just duplicated the same css and replaced ‘.single-product’ with ‘.home’

    that seems to work, is that right? or will having a duplicate of the code mess things up?
    i know basically nothing about css lol

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cart Menu Text is White’ is closed to new replies.