A custom cursor for your Shopify store
Make a cursor in the hover-ui Mixer, then paste one script tag into Shopify. It covers the whole page, answers taps on phones and tablets (or steps aside there, if you turn that off), and keeps still for visitors who’ve asked their device for less motion. There’s no code to write.
1. Make your cursor
In the Mixer, stack dots, rings, shapes, words and effects, and choose how each acts on hover, press and click. Or start from one in the gallery and make it yours. Building and previewing is free.
2. Copy its script tag
Open Export, then Embed (it comes with any paid plan), choose Shopify, and copy the tag. It’s one line, like this:
<script src="https://mixer.hoverui.fun/embed.js" data-mix="…" defer></script>
3. Add it to Shopify
- aIn your Shopify admin, go to Online Store, then Themes. On your current theme, open the … menu and choose Duplicate, so you have a copy to go back to.
- bOpen the … menu again and choose Edit code.
- cOpen
layout/theme.liquid, paste the tag just before</body>, and save. - dOpen your store: the cursor is on every page.
Try it before you paste anything
Under Export, “Try it on your site first” gives you a bookmark. Open your Shopify site, click it, and the cursor appears on that page, in your browser only; click it again to take it off. A cursor with paid parts runs this way for half an hour, with a badge saying so.
Free and paid cursors
The tag comes with any paid plan. A cursor made only of what’s free runs on any site, with no license. One that uses paid parts carries a license naming your sites: add your site’s address under Sites before you export, and the tag runs there for good, even if you stop paying later. The plans
If it doesn’t show
- Look at the published site, not Shopify’s editor: custom code runs on the live site.
- Open the browser’s console. The cursor says there why it can’t run, such as a site its license doesn’t name.
- Add the tag once, site-wide. Two copies stack two cursors.
- Updating your theme to a new version can leave code changes behind. If the cursor goes after an update, paste the tag into
layout/theme.liquidagain.