Hi!
I work in the spotlight theme.
How can I change the cart icon to the text cart + a counter of how many items is in the cart.
Like this: Cart (0)
Hope you help me out!
Hi!
I work in the spotlight theme.
How can I change the cart icon to the text cart + a counter of how many items is in the cart.
Like this: Cart (0)
Hope you help me out!
Hey @NanaOeager ,
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
I changed the font size to 1,7rem.
But now when I put something in the cart it becomes smaller in font size.
Besides I would like to change the brackets to ().
https://admin.shopify.com/store/a754c3-4/themes/159688261974/editor
Thanks!
But still changes the font size when something is added.
Hi again,
I changed it to 1,7, but now i’m working in a new copy: https://admin.shopify.com/store/a754c3-4/themes/159688261974/editor?section=sections–21032906785110__header
Hey @NanaOeager ,
You put 1,7 everywhere. It’s not 1(comma)7,
it’s 1.7. 1(dot)7
1,7 will give you error and it will pick another size on it’s own.
You should put 1.7. Please check everywhere you changed this and put 1.7

Hi, I have also done this and it worked fine. However I want the text to be white and can I add left and right margin to this?
Thanks in advance
Hey @brandnkay ,
Can you share the link to your store please? Thanks
Thanks for your reply,
yes, its a weird one because in the Shopify theme customizer its white but when i preview its black? also if you know how to get the padding/margin the exact same on each side of the header that would be very much appreciated.
It’s white for me @brandnkay ,
Are you editing on a draft theme? Because I’m seeing the live theme.
If it’s a draft theme, please send the preview link
That’s strange, for me its black, i am not on a draft theme that is live. Also i need the spacing between the country selector and the cart to be the same as the menu items on the left side, and the margin on both sides of the header is different and I cannot seem to figure out why ![]()
Hey @brandnkay ,
You should try checking it on incognito, you might have a browser extension or something interfering.
You seem to have a negative margin there somehow messing up the cart margin. Just add this code and it’ll be fine
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
That’s great!
Thank you for your help I appreciate it.
Hey, me again.. I have found that it is when an item is added to the cart the text turns black?
You have that as a default in your code, I don’t know why.
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
Thanks! Appreciate it.
search icon into text dawn theme and cart icon like this
![]()