Theme compatibility
Updated Nov 9, 20261 min read
On this page (3)
Hype recognizes the cart icons and cart drawers of common Shopify themes, including Dawn and Horizon. If yours isn't detected, add its CSS selector to the cart editor's Advanced panel. Your selectors are added to the built-in ones.
Add a selector
- Right-click your cart icon on your store, or your theme's drawer while it's open.
- Choose Inspect.
- Find an
idorclasson the element or its container. - Write it as a selector, such as
#site-cart,.header-cart-toggleor[data-cart-panel]. - Open Advanced in the cart editor.
- Add the selector to the field below, one per line.
- Click Save.
| Field | Use it when | What to list |
|---|---|---|
| Extra cart trigger selectors | Your cart icon goes to the cart page or opens your theme's cart | The cart icon or its link |
| Extra native drawer selectors | Your theme's drawer or cart popup still appears | The drawer's container. Never list the cart icon or item count, or your header's cart badge disappears |
Good to know
- Add to cart buttons need no selector. The drawer opens whenever the number of items in the cart goes up.
- Extra cart trigger selectors needs Open on cart icon clicks on, and Extra native drawer selectors needs Hide the theme's own cart drawer on.
- Use an
idor a readable class name. Long auto-generated class names can change when your theme updates. - Each cart has its own selectors, and duplicating a cart copies them.
- Selectors can't reach inside a shadow DOM. List the outer element instead, or turn off your theme's own cart drawer in its settings.
Related
Was this article helpful?
Related articles
Activate and schedule a cartA cart shows on your store only when its status is Active . Every new cart starts as a Draft . The app embed must be on: see Enable the app embed .…Nov 9, 2026Replace your theme's cartAn active cart replaces your theme's cart on your store. Four switches in the cart editor's Behavior panel control how it takes over, and all four…Nov 9, 2026Open the cart with JavaScriptSend the hype:cart:open event from your store's JavaScript to open the drawer, for example from your own button. The event only works on pages where…Nov 9, 2026Manage your cartsYour carts are listed on Home . Click a cart's name to open it. Everything else is in the Cart actions menu (the three dots) on its row. To turn a…Nov 9, 2026
Still stuck?
Ask a follow-up and we'll see it came from “Theme compatibility”.
Opens chat with your question and a link to this article.