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:
Go to the Refined Administration.
Select the site you want to work with.
Click the Configuration tab.
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
Open the Page Builder on the page you want to edit. This can be:
The site’s homepage.
A Refined Page.
The landing page of a Jira project, Jira Service Management project, or Confluence Space.
Hover your mouse over the desired location on the page and click the + Add module button that appears.
Click HTML in the left-hand menu.
To embed content, add HTML into the module. Learn how to get HTML for:
Edit the module settings
Click the module to open its settings menu, which appears on its right-hand side.
Edit the settings, which are divided over multiple tabs:
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:
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. |