Change the top bar of the cart drawer
Edit the cart title, item count style, close button and icon at the top of the drawer.
Open the Top bar card under Header in the cart editor. It holds the title, the item count and the close button. Every cart has it, so you can't remove it.
Change it
- In Shopify admin, open Apps → Section Store → Cart Drawer.
- Click Edit on your cart.
- Under Header, open Top bar.
- Set Title. The default is "Cart {{items_count}}". The code icon adds Items count or Cart total.
- Choose Item count: Raised, Same size or Badge.
- Choose Close button: Plain, Circle or Square. Set Close icon size and Close icon stroke.
- To add an Image icon, click Change icon. Under Icon position, pick Align to left of bar or Left alongside title.
- Set Text align, the colors and Text size.
- Click Save.
Good to know
- The count includes free gifts. It leaves out order addons.
- At zero items, the count hides.
- To translate the title, use the Translations page.
Related
Also searched as: cart header, cart title, drawer heading, your cart text, item count, item count badge, close button, close icon, x button in cart, header icon, hide item count, title alignment, items_count
Did this answer your question?