Install guide
Add a DreamWidget to Shopify
Shopify themes built on Online Store 2.0, which includes Dawn and every theme in the Shopify Theme Store today, let you add a Custom Liquid section anywhere in a template. That is all a DreamWidget needs: no app to install and no theme files to edit.
Widgets that work on Shopify
Every DreamWidget below works on Shopify, with the same steps.
Logo Showcase, Video Showcase, YouTube Widget, Vimeo Widget, TikTok Widget, Twitch Widget, Countdown, Instagram feed, Showreel.
Where they work best on a Shopify site
- The home page, under the main banner. "As seen in" press logos or the brands you carry, right where a first-time visitor decides whether to trust you.
- A product page template. Add the section to the product template and the video gallery shows on every product that uses it.
- An about page. Your story on video, or the partners you work with.
Add a widget to a page
First, copy your code. In the DreamWidget editor, press Publish changes, then Copy code in the window that says your widget is live. The same code is in Settings, under Copy embed code. It is one short code; paste all of it, as copied.
- Customize your theme. Go to Online Store, then Themes, and press Customize.
- Add a Custom Liquid section. Open the page template, press "Add section" and choose "Custom Liquid".
- Paste and save. Paste your DreamWidget code into the Liquid code box and press Save.
The popup on every page
These float over the page instead of taking a spot in it, so they load once per page.
- Edit theme code. In Online Store, Themes, open the three-dot menu and choose "Edit code".
- Paste before the closing body tag. Open layout/theme.liquid, paste the code just above </body> and save.
If it does not show up
- There is no Custom Liquid section. Your theme is older than Online Store 2.0. Open the page in Online Store, Pages, press the Show HTML button in the editor and paste the code there instead.
- The widget shows on one product only. You edited a product's own template. Pick the default product template in the theme editor so every product gets it.
- It looks right on desktop and cramped on phones. Check the section's padding settings; the widget fills the width the section leaves it.
Check it worked
Open the published page in a private window. The widget draws within a second; if the box is empty, see Checking it worked. Changes you make in the DreamWidget editor reach Shopify by themselves; you never paste the code again.