Guides / Platforms / Elementor

Install guide

Add a DreamWidget to Elementor

Where it goesHTML widget
What you needThe free version of Elementor is enough for one page. Adding code to every page with Custom Code needs Elementor Pro.

Elementor is the most used page builder for WordPress, and its HTML widget is made for code like ours. You drag it into a column, so the DreamWidget takes that column's width and spacing on desktop, tablet and phone.

Widgets that work on Elementor

Every DreamWidget below works on Elementor, 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 Elementor site

  • A full-width section on the home page. Set the section to full width and the logo row runs edge to edge.
  • Beside text in a two-column section. A video gallery next to a short paragraph explains a product better than either alone.

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.

  1. Edit with Elementor. Open the page in Elementor and find the section where the widget should sit.
  2. Drag in the HTML widget. Search the widget panel for "HTML" and drag it into the column.
  3. Paste and publish. Paste your DreamWidget code into the HTML Code box and press Update.

The popup on every page

These float over the page instead of taking a spot in it, so they load once per page.

  1. Open Custom Code. In the WordPress dashboard go to Elementor, then Custom Code, and add new.
  2. Place it at body end. Paste the code, choose "Body end" as the location, set the condition to the entire site and publish.

If it does not show up

  1. The editor shows an empty box. Elementor does not run scripts while you edit. Press Preview or open the live page.
  2. The widget is squeezed on phones. Check the column's mobile width in Elementor's responsive mode; the widget fills whatever width the column gives it.
  3. Elementor Pro's Custom Code is greyed out. That feature is Pro only. For one page, the free HTML widget is all you need.

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 Elementor by themselves; you never paste the code again.

Other platforms