Shopping Cart Notification Icon is Showing Different Color Than The Desktop Version

Solved

Shopping Cart Notification Icon is Showing Different Color Than The Desktop Version

BentiShop
New Member
10 0 0

Screenshot (23).png

 

 

Should be black, not pink. Help please

Accepted Solution (1)
deepaksharma
Shopify Partner
449 63 99

This is an accepted solution.

then you will have to find the code in the code section and edit it

@media screen and (max-width: 768px)
.cart-count-bubble {
    position: absolute;
    background: #b23e65 !important;
    color: #fff;
    height: 1.7rem;
    width: 1.7rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    bottom: 0rem;
    left: 1.4rem;
    line-height: calc(1 + 0.1 / var(--font-body-scale));
}

 

you have to find this particular code part and change the background from #b23e65 to #000(black) or the color you like

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com

View solution in original post

Replies 8 (8)

deepaksharma
Shopify Partner
449 63 99

can you please share url and password (if any) of your store?

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
BentiShop
New Member
10 0 0

https://mybentishop.com/ - no password

BentiShop
New Member
10 0 0

mybentishop.com

deepaksharma
Shopify Partner
449 63 99

paste the code below in the header's custom css

@media screen and (max-width: 768px)
.cart-count-bubble {
    background: #000 !important;
}

 

this will make the background color black

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
BentiShop
New Member
10 0 0

Screenshot 2024-03-03 234634.png

 

BentiShop
New Member
10 0 0

That is the error message I received and it did not change the icon.

deepaksharma
Shopify Partner
449 63 99

This is an accepted solution.

then you will have to find the code in the code section and edit it

@media screen and (max-width: 768px)
.cart-count-bubble {
    position: absolute;
    background: #b23e65 !important;
    color: #fff;
    height: 1.7rem;
    width: 1.7rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    bottom: 0rem;
    left: 1.4rem;
    line-height: calc(1 + 0.1 / var(--font-body-scale));
}

 

you have to find this particular code part and change the background from #b23e65 to #000(black) or the color you like

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
BentiShop
New Member
10 0 0

Found it, it was under icon-cart.liquid. Thank you.