Add custom code to a landing page.
Please note that while we provide this option, we don’t offer support if any related issues occur.
Enable or disable the HTML module
The HTML module has to be manually enabled for it to become available in the Page Builder. 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.
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.
Add this module to a 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.
Embed a video
A popular way of using the HTML module is to embed videos from platforms such as YouTube or Vimeo:
Go to the video on YouTube or Vimeo.
Click Share > Embed.
Copy the HTML and paste it into an HTML module in the Page Builder.
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. |