Code for changing color of Item in cart display badge

I’m trying to change the color of the badge that indicates there’s items in the cart. I’m pretty sure to get the theme color to exactly how I want it without interfering with any other colors (which seems to happen every time I try to change the color of color theme it might be), requires a code.

I’m using Shrine theme, trying to change the circle indicating items in cart to color: #399EF1

1 Like

@Josephaco , could you kindly share your store url?

@Josephaco , If you are not comfortable, you can try following these steps:

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above


If it helps you, please like and mark it as the solution.

Best Regards :blush:

1 Like

This is Richard from PageFly - Shopify Page Builder App

Hi @Josephaco Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag


Hope my solution will help you resolve the issue.

Best regards,

Richard | PageFly

1 Like

This was a huge help, It changed the color of what i needed it to, although now how do i change the number within that circle to white? Thanks!

This was a huge help, It changed the color of what i needed it to, although now how do i change the number within that circle to white? Thanks!

May you please tell me how I can change the color of the digit thats shown in the count bubble? That would be highly appreciated.

I want to change the digit color to white. (The number indicating how many items are in the cart)