Hello guys!
I am currently doing some customization to the cart dropdown, and would like some assistance if possible.
I have currently been able to add the functionalty of current quantity of the cart items visible in the cart-nav-icon. By using a guide and some javascript. I used CSS to style this quantity counter, but it inflicts with anchor-text class, so that the buttons inside the dropdown cart is compromised. I am trying to find a workaround which will enable me to have custom css styling, but let the cart drop down button do their original thing.
With the CSS styling enabled:

CSS used:
When I disable the custom css styling:

As you can see the “Item counter” is now not as desired
But, the buttons back to normal inside the cart:
I disabled the styling entirely. Is there a way for me to target perhaps only the counter or only the buttons to get them both working properly?
I do understand that this might be out of the scope of support. But if there is a quick fix, maybe a class or ID I can target… I tried using !important on the button class for the dropdown cart buttons to override for the buttons specifically, but I did not succeed.
Thanks in advance.


