Hype Cart

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

  1. Right-click your cart icon on your store, or your theme's drawer while it's open.
  2. Choose Inspect.
  3. Find an id or class on the element or its container.
  4. Write it as a selector, such as #site-cart, .header-cart-toggle or [data-cart-panel].
  5. Open Advanced in the cart editor.
  6. Add the selector to the field below, one per line.
  7. Click Save.
FieldUse it whenWhat to list
Extra cart trigger selectorsYour cart icon goes to the cart page or opens your theme's cartThe cart icon or its link
Extra native drawer selectorsYour theme's drawer or cart popup still appearsThe 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 id or 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 articles

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.