Learn to add the Custom Code Block to your Kajabi Page.
In this article:
- What is the custom code block used for?
- Adding a custom code block
- Customizing your custom code block
- Page settings: Custom CSS & custom Javascript
What is the custom code block used for?
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 to 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 (check out the Iris Template below for an example):
- And more! Test out this block to see how you can design unique landing pages to fit your business with the Custom Code Block.
Adding a custom code block
Step 1. Add custom code block
- Open the Website tab from the Dashboard.
- Select the Pages tab.
- Open the page editor for your Page. Learn more
- Navigate to the sidebar panel.
- Click Add Content.
- From the list, select Custom Code.
- Your newly created Custom Code Block will generate at the bottom of the Section.
- Click Save to keep your changes:
Step 2. Enter your custom code
- In your page, hover over the existing Custom Code Block you want to edit and click Edit.
- In the Code field, paste a copied embed code or enter your custom code.
- Click Save to keep your changes:
Customizing your custom code block
In a Custom Code Block, configure the Width of the block, enter your custom code, and configure your Block Settings.
Block Settings
To adjust the look and feel of the Block, configure your Block Settings by customizing the:
Accessing your Custom Code Block Settings:
- Open the Website tab from the Dashboard.
- Open the page editor for your Page. Learn more
- Hover over the Custom Code Block you wish to customize and click Edit.
- Navigate to the sidebar panel to access your Custom Code Block Settings:
Page settings: Custom CSS & custom Javascript
Although most can achieve unique designs with the Custom Code Block, you may desire more advanced functionality or appearances that can only be achieved with the Custom Code found in your Page Settings within landing pages built with Kajabi Pages.
The Custom Code in your Page Settings allow you to insert any custom HTML, CSS, or Javascript into your page.
This can be used to drop things like the following into your page:
- Tracking pixel codes
- Embedded calendars
- Third-party tools (e.g., Using Google Fonts on your Page)
...and more.
Accessing Page Settings Custom CSS:
- Open the Website tab from the Dashboard.
- Open the page editor for your Page. Learn more
- Click Settings.
- Select Custom Code:
And that's how to add custom code to your page! Please vote below and let us know if you found this article helpful. We value your feedback. Thanks for being the best part of Kajabi!