Add custom code to your pages built with the Premier legacy template to include schedulers, videos, or customize the appearance of a section.
Overview
The Custom Code Block in Premier allows you to embed code without requiring access to the Code Editor. This guide walks you through adding a Custom Code Section and customizing its appearance.
Important: Introducing custom code to your site can open you up to vulnerabilities and potential malware attacks. We recommend using vulnerability tools like VirusTotal or Snyk to scan any custom code that you intend to use and apply certain best practices to help reduce potential impact.
Note: This article refers to the Premier Legacy Templates, which may be outdated. If you are using the Kajabi Pages Templates, refer to the updated guide here.
Add a Custom Code Section
Embedding custom code can be used to include schedulers or videos, or to customize the appearance of a section of your page.
Open the Website tab from the Dashboard.
Click Pages.
Select the page you wish to customize or create a new page.
Click Customize to open the page editor.
Click + Add Section from the sidebar.
Click the Custom Content section and click Add.
Your newly added Custom Content Section will be added to the bottom of the page.
In the Custom Content Section, scroll to the bottom of the editor and click Add Content.
Select Custom Code.
Paste your copied custom code or enter custom code into the Code field.
Click Save to keep your changes.
Customize your Custom Code Block
The Custom Code Block can be used to embed or add custom code for a variety of purposes, including:
Adding custom code (like embedding a calendar on your page) without requiring access to the Code Editor of your site
Creating blank spaces on your page to design beautiful, unique landing page layouts
Testing out this Block to see how you can design unique landing pages to fit your business
Block appearance
Alignment
Adjust the alignment of the Block within your Custom Content Section: - Left - Centered - Right
Container width
Change the size of your Custom Code Block by selecting your desired container width.
Place this block on its own row
Separate your Content Blocks within your Custom Content Section by toggling on this setting.
