How to change the text color for shopping cart widget in header

5 replies2 participantsUpdated by Rose Tyler

  • Avatar: malanepellico
    malanepellico
    Participant

    I have managed to find the code to change the color of the summ in the shopping cart widget, but cannot seem to change the color of the text “CART” that appears just before the summ.
    Here is what I used:

    .header .shopping-cart-widget .cart-summ .amount {
    font-weight: bold;
    color: #ffffff !important;
    }
    .header .shopping-cart-widget .cart-summ a {
    color: #ffffff !important;
    }

    5 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You can change the current code to this one:

    .header .shopping-cart-widget .cart-summ .amount {
        font-weight: bold;
    }
    .header .shopping-container .shop-text {
        color: white !important;
    }

    Regards

    Avatar: malanepellico
    malanepellico
    Participant

    That worked great! thank you! But I just realized I need make these changes on the fixed header. Can you tell me how to make these same changes on the fixed header? Apparently the code below is not doing it…thank you so much in adavance!!!!

    .fixed-header .shopping-cart-widget .cart-summ .amount {
    font-weight: bold;
    }
    .fixed-header .shopping-container .shop-text {
    color: white !important;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Just change the previous code to:

    .navbar-right .shopping-cart-widget .cart-summ .amount {
        font-weight: bold;
    }
    .navbar-right .shopping-container .shop-text {
        color: white !important;
    }

    Regards

    Avatar: malanepellico
    malanepellico
    Participant

    I tried the code using .fixed-header in the child CSS and it did work. Thank you for your help!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You’re welcome!
    This code http://prntscr.com/pikjys should work for the main and fixed header without additional classes (checked on my test site).
    Next time, provide URL of your site, please.

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register