Adding A border to the cart numbered icon

Adding A border to the cart numbered icon

tourbrandus
Excursionist
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. 

 

Website: tourbrand.us

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)

Made4uo-Ribe
Shopify Partner
8303 1994 2452

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. 
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.