Adding A border to the cart numbered icon

14 0 6

Hello I am wondering if I can add a black border matching the thickness of the cart to the cart number icon. 



password: task1data


Screen Shot 2023-05-31 at 10.50.50 AM.png


Screen Shot 2023-05-31 at 11.14.40 AM.png

Reply 1 (1)
Shopify Partner
2765 604 749

Hi @tourbrandus ,

I understand that you want to add border in your buble cart icon.

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "theme.scss.liquid, styles.scss.liquid or base.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.


.cart-count-bubble {
    border: .5px solid black;


  • Result:
  • Ribe_Dagandara_0-1685557564107.png
  • You can adjust anytime the size.
  • I hope it help. 
Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at