Solutions keyboard_arrow_down keyboard_arrow_up
Our Solutions
Ontraport's solutions work together to give you everything you need to run your business in one centralized, easy-to-use platform.
Resources keyboard_arrow_down keyboard_arrow_up
Find free content on the latest marketing strategies, using Ontraport in your business, and finding the right software.
Visit the blog
University Pricing Chat
Page elements
Last updated on: July 19, 2023

Elements are the text, images, videos, forms and other content that you drag-and-drop onto a page. Select your page elements from the palette on the left side of your canvas when you’re creating a page. With the flexibility of this visual page builder, every element can be customized to your liking.

Table of contents

Create a layout
Element settings
The “Style” tab
The “Position” tab
Advanced settings
Text and Button elements
Edit your text settings
Add links to text
Use font styles
Image and Video elements
Form and Sales elements
Customers elements
Dynamic content elements
Advanced elements

Create a layout for your page elements

One of the best ways to ensure that your pages look good is to create a layout grid for your page elements before adding them.

It’s an Ontraport best practice to create the block layout using columns and rows as opposed to relying on your elements’ position settings.

It’s possible to arrange page elements without creating a grid design, but that’s not ideal. Your page content will move around based on screen size. Creating a grid layout holds your elements in their relative positions so visitors viewing your page on different devices will see a consistent layout.

Element settings

Back to top

On the left side of your screen, click on any element to open its settings. The first tab you’ll see is Settings, but you’ll also have Style and Position tabs.

This article mainly focuses on how to customize the settings available in the Settings tab, but you’ll see similar options in all Style and Position tabs, regardless of which element you’re customizing. Check out the sections below to see what’s available from the Style tab and the Position tab.

The “Style” tab

Back to top

The Style tab is only available on some elements, such as buttons or form fields. Style tab settings let you customize your element’s design.

Quickly select a style from your presets or favorites, or click Edit Style to access more granular styling options.

The “Position” tab

Back to top

Every element has its own Position tab with settings to customize the padding, margin alignment and sizing settings.

Advanced settings

Back to top

You can customize these settings by hovering over your element and clicking and dragging the drag handles to move and/or resize your element.

Every element has an advanced settings section that allows you to add custom classes to the element’s wrapper to target the element with CSS or Javascript.

Note that when you customize text elements, you set properties on an outer wrapper element instead of the HTML element that directly holds the text.

So, if you want to change the color of text or add decoration such as italics or underlining, you need to target the inner element.

.my-custom-class .opt-text-wrapper { color: red; }

Or you can target each element inside of your custom class like this:

.my-custom-class * { color: red; }

Here’s how to use custom CSS classes:

  1. Click on the element you want to add a custom class to, then click the Position tab.
  2. Scroll down to advanced settings, and add a custom CSS class to the “Custom block classes (advanced)” field.
  3. Click Done to save your settings.
  4. Go to SettingsCustom CodeHeader.
  5. Add the CSS you want to apply to your element.
  6. Click Done to save your settings.

Naming classes

CSS class naming conventions help you reduce the effort required to read and understand your code. Here are some general rules and best practices for naming CSS classes:

  1. Use meaningful names: Class names should reflect the purpose or function of the element they are applied to. Avoid generic names like "red" or "big," and opt for descriptive names like "primary-button" or "header-navigation."
  2. Use lowercase letters: Stick to lowercase letters when naming classes to ensure consistency and prevent confusion.
  3. Separate words with hyphens (-): Use hyphens to separate words within class names for readability. For example, use "header-navigation" instead of "headerNavigation" or "header_navigation."
  4. Use meaningful abbreviations sparingly: While abbreviations can keep class names shorter, you should prioritize readability and clarity over brevity. Only use abbreviations if they are widely understood and don't sacrifice clarity.

Using merge fields in classes

You can also use merge fields in your class names to customize your element’s style dynamically.

For example, if you want to use a color field to customize the color of your blog title’s font, you can add the merge field to your class, such as “blog-title-category-[Page//Block//Category Color].”

Then, in the header section of your custom code, you’ll create styling for each element by using a merge field on a dynamic block. For example, imagine you have three values in your Category Color field, red, orange, and yllow. In the custom header section, you’ll add an element that includes each value in your color field and specify the color you want to display.

Creating conditional elements

Another helpful way to use merge fields in your custom classes is to show or hide elements based on values saved in your record.

For example, if you have a checkbox in your blog post records that indicates whether your article is published or not, you can dynamically display either a “Read now” button when your article is published or a “Coming soon” button when it is not.

Add the merge field for your checkbox into your custom class: “learn-button-[Page//Block//Published]” for the “Learn more” button and “coming-button-[Page//Block//Published]” for your coming soon button.

Then, set the custom code to hide the learn more button when the class is “learn-button-No” or the coming soon button when the class is “coming-button-Yes.”

Text and Button elements

Back to top

There are five elements that allow you to customize the content on your page:

  1. Headline
  2. Sub Headline
  3. Text
  4. Button
  5. Divider

The Headline, Sub Headline and Text elements allow you to add editable text to your page. You can edit your font’s style after you add the element to your page.

Use the Button element to add a link to your page. Drag a Divider element to break up the content on your page.

Headline element

Back to top of section

Use the Headline element to add headline font style text.

Sub Headline element

Back to top of section
Sub Headline

Use this element to add text that uses the Sub Headline font style.

Text element

Back to top of section
Text element

Use this element to add text that uses the body text font style.

Edit your text settings

Back to top

Once you’ve added text to your page, click on it to customize your text settings. When you click on any Text element, you’ll see a text toolbar at the top of your screen with common text options.

Back to top

Creating a hyperlink in Ontraport is a lot like creating one anywhere else, and links can be added to any Text element.

Highlight the text you want to hyperlink, and click hyperlink icon from your font toolbar. Select your link type.

  • URL: Add the web address of a specific page such as your business website.
  • Ontraport Page: Link to one of your published Ontraport Pages.
  • Link to a block on this page: This allows the visitor to jump to a block located somewhere else on the page.
  • Tracked Link: Add a link that can trigger actions when your cookied contact clicks it.
  • Ontraport Hosted File: Insert a PDF or other type of file you hosted in the Ontraport File Manager. 
  • Ontraport Form Lightbox: Show your contacts a pop-up when they click your link. 
  • Link to a URL field: Insert links stored in URL fields.

And customize what you want your links to look like from your Text element’s settings.

Select protocol for URL links

More link protocol options appear when you create a clickable link, like a button or highlighted text. Here's how you can use each option.

Protocol typeDescriptionExample link

https:// (default)

Applies to web links secured by SSL/TLS certificates, commonly used for secure web addresses.


Applies to non-secured web links, typically used for PURLs in Ontraport. If directed to a secure page, the browser will redirect you.


With an email address, create a clickable link. Click the link to open your device’s default email app. Write and send emails with a simple click.


Create a unique link to call a specific phone number. Clicking the link prompts a call, often used by phone users, but also functional on computers with the proper program for handling these types of links. 



With a phone number, create a clickable link that takes you to your device's default messaging app. Easily start a conversation with the specified number.



“Other” is not a protocol itself, but allows you to include any protocol included, but not limited to, the ones above. Any valid URL scheme can be included here. 

Inserting javascript:history.go() will refresh the page when the link is clicked. 

Note: Links created using Other are not tracked. They won't show up in the contact log and you can't run automations based on these link clicks.

Use font styles

Back to top

The font style dropdown from your text toolbar lets you choose which font style you want to apply to each Text element. This makes updating your fonts across your page easy. For example, if you update your Headline font style from Work Sans to Roboto, you’ll change the fonts on all of your headlines.

  1. Highlight your text and click Font Style the dropdown.
  2. Choose a font.
  3. (Optional) Edit your font style. Click pencil icon next to your font and choose the font family, size and weight.
  4. Click Save.

Button element

Back to top of section
button element

Use this element to add a button to your page. Buttons are commonly used for actions you want your visitors to take, such as “Log in” or “Join now.”

Button elements allow you to customize the text and add a link to your button.

Divider element

Back to top of section
divider element

Use the Divider element to add a divider to your page. Choose what type of divider you want to use from the settings:

  • Plain
  • Text
  • Icon

Image and Video elements

Back to top

You can add four elements to your page to add visual interest:

  1. Image
  2. Icon
  3. Video
  4. Slideshow

Image element

Back to top of section
image element

The Image element allows you to add and edit images on your page. From your Image element settings, choose the default image you want to display. If you’d like your image to change when visitors hover over it, click Hover and select an image.

divider element

Icon element

Back to top of section
icon element

Drag an Icon element to your page to add a Google or Font Awesome icon to your page. Add a URL in the “Icon link” field to make your icons clickable links.

Video element

Back to top of section
video element

Use this element to add a video to your page. From the Video element settings, select what kind of video you want to add. Choose from:

  • Ontraport
    • Select one of your Ontraport hosted videos. Learn more about Ontraport video hosting in this lesson.
  • YouTube
  • Vimeo
  • Wistia
  • Embed

Note that autoplay can only be enabled for videos without sound. This is a browser limitation.

Slideshow element

Back to top of section
slideshow element

Use this element to add slideshows to your pages. When you first click into your slideshow settings, you can choose how many slides you want to appear on your page. Click on each slide to customize it.

Each slide includes:

  • Background
  • Title
  • Text
  • Button 1
  • Button 2

Click on the name of the particular slide to edit its content and settings.

To remove any part of your slideshow, toggle it off.

Form and Sales Elements

Back to top

There are ten elements that help you create any type of form:

  1. Form Field
  2. Submit Button
  3. Billing Address
  4. Shipping Address
  5. Credit Card
  6. PayPal Button
  7. Order Summary
  8. Order Bump
  9. Upsell Button
  10. reCAPTCHA

Check out this article and view this lesson to learn more about using these elements to create forms on pages.

Form Field element

Back to top of section
form field element

Use this element to add fields to a form. To add a form field to your page, select the type of record that should be updated. For example, if you’re creating a lead capture form, select “Contacts.”

Then select a field to add.

From the settings, customize your field’s label, placeholder text and prefill your field’s value.

If you make your field required, you can write your own validation message to visitors who don’t fill out that field.

Pro tip: When you add your first field, go to your Style tab and customize how you want your form field to look. When you add the rest of the fields to your form, the same style will be used.

Submit Button element

Back to top of section
submit button element

Use this element to complete your forms. Every form needs a Submit Button, and you won’t be able to publish your page if you have Form Field elements without a Submit Button in the same block.

Billing Address element

Back to top of section
billing address element

Use this element to add all of the required billing address fields, which include:

  1. Billing address
  2. Billing address 2
  3. Billing city
  4. Billing state
  5. Billing country
  6. Billing zip code

When you drag the Billing Address element over, you will see all these elements appear on your page. You can rearrange them and customize their appearance after adding them.

When a customer enters information in these fields, it is sent to your payment gateway for credit card verification.

Note, dropdown fields allow you to edit your field’s dropdown values from the advanced settings. Edit, reorder and rename your dropdown values to put the most relevant billing address options at the top of your list. You can also pick a default value.

Shipping Address element

Back to top of section
shipping address element

Use this element to add all of the required shipping address fields to your form at once. The Shipping Address element adds the following fields:

  1. Shipping address
  2. Shipping address 2
  3. Shipping city
  4. Shipping state
  5. Shipping country
  6. Shipping zip code.

If you’re selling physical products, make sure to add these fields.

Note, dropdown fields allow you to edit your field’s dropdown values from the advanced settings. Edit, reorder and rename your dropdown values to put the most relevant shipping address options at the top of your list. You can also pick a default value.

Credit Card element

Back to top of section
credit card element

Use this element to add a set of fields that contain the minimum required information for most payment gateways:

  1. Name on card
  2. Card number
  3. Expiration month
  4. Expiration year
  5. CVC

PayPal Button element

Back to top of section
PayPal Button element

Use this element to add a “Pay with PayPal” button to your form which lets you use the PayPal standard payment gateway on an order form.
Customize the design of your PayPal button from the element’s settings.

Order Summary element

Back to top of section
order summary element

Use this element to add an order summary to your order form. This will tell your customers what they are purchasing and how much it will be. This element is required to allow your customers to use coupon codes on your order form.

From the Order Summary settings, you can choose what information you’d like to display on your order summary.

Translate your order summary element text to another language using the “Language” dropdown field.

If you’ve added a trial period to a product on your order form, the “trial label” field allows you to customize what you want to display on your order summary. For example, if you’re offering a discounted price as a promotion, you can change your “trail” label to “Spring blowout promo.”

Order Bump element

Back to top of section
order bump element

Use this element to add an order bump to an order form to increase your sales. Check out this video to learn more about order bumps.

From the settings you can customize your order bump offer’s content.

Upsell element

Back to top of section
upsell element

Use this element to add an upsell form to your page. Note, Upsell elements cannot be placed on the same page as your main order form. Check out this video or this article, to learn about upsell forms.

Customize the text on your upsell buttons from the Settings tab.

reCAPTCHA element

Back to top of section
recaptcha element

Use this element to decrease spam form submissions. When a visitor fills out your form, they’ll need to confirm that they are a person by clicking a checkbox .

If this is your first time using reCAPTCHA, follow the instructions in your element’s settings to generate a site key.

Customers elements

Back to top

There are three elements that allow you to add a Customer Center to an Ontraport Membership site.

  1. Update CC Button
  2. Change PW Button
  3. Payment Info

A Customer Center gives your members a location to log in and view their purchase and payment history, update their credit card details and change their login information.


To use these elements, your page needs to be published to your membership site’s domain. And your page’s display settings must be set to “all logged in members.”

Update Credit Card button element

Back to top of section
update credit card button element

Add this element to allow your members to update their own credit card information from an automatically generated update credit card page.
From the settings, you can customize your button’s text and if you want to use the updated card to process transactions in collections and/or update all open orders with that card.

Change Password button element

Back to top of section
change password element

Add this element to allow your customers to reset their password to your membership site from an automatically generated reset password page.

Customize your button’s design from the Settings tab.

Payment Info element

Back to top of section
payment info element

Add this element to allow your customers to view their unpaid invoices, subscriptions and payment plans, and payment history.

Choose which sections to display, and customize your section headers from the Settings tab.

Dynamic content elements

Back to top

There are two dynamic content elements that allow your visitors and members to interact with your content.

  1. Search
  2. Reactions

Search element

Back to top of section

search element

The search element allows you to add search functionality to your site.

Learn more about setting up the search element here.

Reactions element

Back to top of section

Learn more about setting up the Reactions element here.

Advanced elements

Back to top of section

Back to top

There are five elements that allow you to add advanced functionality to your page.

  1. Navigation
  2. Countdown Timer
  3. Social Sharing
  4. Facebook Comments
  5. Custom HTML

Back to top of section
navigation element

Use this element to create a customizable, and fully mobile responsive, navigation menu for your sites.

Add and reorder the links you want to display on your navigation bar from the Settings tab.

When you click on any of your navigation links, the settings allow you to name it, add a link URL and customize your design.

Your links also include their own special settings to customize exactly how your navigation menu will function.

The custom HTML section in your settings allows you to add additional styling to your sidebar navigation menu so any design is possible.

Countdown Timer element

Back to top of section
countdown timer element

Use this element to add a countdown timer to your page. This is useful for drawing visitors’ attention to promotions or upcoming events.

From the Countdown Timer element settings, add the date and time to countdown to, where to redirect visitors after your countdown expires, and the language used on the countdown.

Social Sharing element

Back to top of section
social sharing element

Use this element to add icons of popular social networking sites, and add links to them. This is a great way to get your site visitors to engage with you on other platforms.

From the settings, add logos and links to your favorite social media platforms. Choose from:

  1. Facebook
  2. Twitter
  3. LinkedIn
  4. Instagram
  5. Pinterest
  6. Bēhance
  7. Tumblr
  8. Skype
  9. ShareThis
  10. RSS
  11. YouTube
  12. SoundCloud
  13. Vimeo
  14. Flickr
  15. Blogger
  16. Dribble
  17. WordPress
  18. DeviantArt

By default, this element includes Facebook, Twitter and LinkedIn Icons. Click Add to add more to your list, or click an existing icon to edit it.

To create “share this page” links, follow these steps:
  1. Visit Share Link Generator.
  2. Add the URL of the page you want your readers to share (i.e, your Facebook page, Twitter feed, etc).
  3. Click Create the Link.
  4. Copy the URL only, and paste it into the corresponding icon URL field in Ontraport.

Facebook Comments element

Back to top of section

This element allows your customers to comment on your pages using their Facebook credentials. To use it, you’ll first need to create a Facebook App and obtain the App ID. Because this is a complex process, you may want to enlist the help of an Ontraport Certified Consultant to complete this step.

Create your Facebook App

  1. Create a Facebook for Developers account.
  2. Click Create App and name your application.
    • Click Settings → Basic and add the required information.
    • Click Save Changes.
  3. Toggle your app from “In development” to “Live.”
  4. Copy your App ID.

Add Facebook comments to your Ontraport page

  1. Open a new or existing landing page and drag and drop the Facebook Comments element onto the canvas.
  2. Click your Facebook Comment element to open its settings.
  3. Add the App ID you copied from Facebook into the App ID field.
    • (optional) If you want your Comment element to show posts made on another page, add that page’s URL to the “comment URL” section. This is a great option if you’d like to continue a conversation that was started on another page.
  4. Click Done.

Add Facebook’s moderation tool

Facebook provides a tool that allows you to moderate and manage the comments posted on your pages.

  1. Go to Facebook’s moderation setup instructions and copy the meta tag provided under “Setup using a Facebook App (Preferred).”
  2. Log in to your Ontraport account and go to the page editor of the page that you put the comment block on.
  3. Click SettingsCustom Code.
  4. In the header section, paste the meta tag and replace {YOUR_APP_ID} with your Facebook comments App ID.
  5. Click Done.
  6. Click PublishSave & Publish.

Note, once you’ve saved your page, it may take up to an hour for Facebook to add the moderation tool to your comment block.

Add moderators

  1. Go to Facebook’s Developer Tools page.
  2. Click Comments Moderation Tool → Settings → Moderators.
  3. Add your moderators and click save.

Custom HTML element

Back to top of section
custom HTML element

The Custom HTML element allows you to add raw HTML, CSS or JavaScript code into your page, further expanding the page’s capabilities. This could be used to insert your appointment calendar, connect to your custom-coded external application, or for a variety of other use cases.

This element is intended for advanced users and coders only. Please note that Ontraport cannot support or troubleshoot custom code, and that coding errors you introduce within the Custom HTML element can cause problems with no recovery possible.

From the settings, click Edit Code to add your HTML, CSS or JavaScript to your page.

Related university lessons
Page elements
Take a tour of the element palette and settings used to create beautiful and functional web pages for your business.
Building a page
This lesson walks you through how to build an Ontraport page from start to finish.
Ontraport Pages: The grand tour
In this tour, you’ll get a detailed look at page settings, block settings and how to create a page framework to get the page looking just right.
Divider Text
Related support articles
Share pages in the marketplace
Designing for mobile devices
Create and edit your page
 Pro tips
Once you’ve edited a page, block or element to your liking, you can save it as a Favorite by clicking favorite icon. This allows you to easily access and use it again.
Live events
© Ontraport 2024
PCI DSS, Level 1
Privacy Shield Certified