HTML module

Please note that while we provide the option to add custom code, we don’t offer support if any related issues occur.

Use custom code on landing pages, for example to embed a video or social media feed.

Enable or disable the HTML module

Before you can use HTML modules on landing pages, it needs to be enabled on your site:

  1. Go to the Refined Administration.

  2. Select the site you want to work with.

  3. Click the Configuration tab.

  4. Under the Security heading, toggle Enable HTML module on.

Disabling the HTML module doesn't delete the HTML modules you added to your site, but hides them until you enable the HTML module again.

Add this module to a landing page

  1. Go to a landing page on your site.

  2. Click the Edit page button.

  3. Hover your mouse over the desired location on the page and click the + Add module button that appears.

  4. Click HTML in the left-hand menu.

  5. Select the HTML module.

To embed content, add HTML into the module. Learn how to get HTML for:

  1. Go to the video on YouTube.

  2. Click Share > Embed.

  3. Copy the HTML.

  1. Go to the video on Vimeo.

  2. Click Share > Embed.

  3. Copy the HTML.

  1. Select a location on the map.

  2. Click Share.

  3. Click Embed a map.

  4. Copy the HTML.

Go to Facebook’s social plugins overview to learn how to embed content like a page or a Share button.

  1. Go to the post on LinkedIn.

  2. Click the More icon in the top right corner of the post.

  3. Click Embed this post.

  4. Click Copy code from the pop-up window that appears. You’ll receive a notification in the bottom left corner of your screen telling you that the code has been copied to your clipboard.

Edit the module settings

  1. Click the module to open its settings menu, which appears on its right-hand side.

  2. Edit the settings, which are divided over multiple tabs:

Setting

Description

Setting

Description

Link to

Add a URL to make the entire module direct the user to another page.

Open in a new tab

If you added a link to the entire module, toggle this setting on to open the page in a new tab.

Background

Choose an Image, Color, or Gradient as background – or turn off the background by selecting None.

There are multiple ways to pick a color:

  • Select the shade and hue at the top of the popup.

  • Enter an RGB, RGBA, or hex code.

  • Click the eyedropper icon to select a color from anywhere on the page (available in the browsers Firefox and Edge).

  • Click one of the recently used colors.

Use the vertical slider in the middle of the popup to control the color’s opacity.

Spacing between elements

Set the amount of space between the module’s contents. Choose between Tight, Default, Spacious - or click Custom to fill in a specific amount of pixels.

Padding inside

Set the amount of space between the module’s content and its border. Choose between Tight, Default, Spacious - or click Custom to fill in a specific amount of pixels.

Horizontal element alignment

Align the content to the left, middle, or right of the module.

Drop shadow

Add a shadow behind the module.

Fixed height

By default, all modules adjust their size to their content. To set a fixed height instead, fill in the desired height in pixels.