Dropdown provides toggleable and contextual overlays for presenting lists of links and other content. In Droip, a Dropdown is a nifty element that allows you to add dropdown menus anywhere on your page.

Adding a Dropdown

To add a Dropdown element, do the following:

  1. Open the Elements panel.
  2. Scroll down to the Components section.
  3. Drag & drop the Dropdown element onto your canvas.

Configuring the Dropdown

The Dropdown element comprises two fundamental components: the Dropdown Trigger and the Dropdown Target.

The Dropdown Trigger serves as the interactive element that users engage with to activate or open the dropdown menu. Upon clicking or hovering over the Dropdown Trigger, the dropdown menu appears, showcasing available options for users to select.

By default, the Dropdown Trigger includes both text and an icon element. Nevertheless, you can add any preferred element as the dropdown trigger.

The Dropdown Target refers to the area or container responsible for containing the content of the open dropdown menu. This region showcases the list of choices or supplementary content after the Dropdown Trigger’s activation.

To access the Dropdown Target, configure the State option to Show within the Dropdown Settings, elaborated on in the next section.

Learn more about Animation & Interaction.

Styling the Dropdown

Once you’re done creating your dropdown you can add style customization using the Style Panel located at the ride side.

Apart from the usual elements in the Elements Panel, Droip also has a Pre-Built Library with a collection of more advanced pre-defined Elements and Sections

To access them, head over to the Pre-built Library which you can access from the Elements tab on the Topbar.

Elements

Below is a list of all of the Pre-Built Elements that you can use and the options available for each category.

Buttons 

As you know, buttons play a significant role on a webpage such as letting users submit a form, functioning as CTAs for users to take that last step, helping users maneuver the website, and more. 

For that reason, sometimes you may need a bit more functionality from a button that a basic one can’t provide. So, here are a few advanced alternatives for the Button Element. Options include:

Checkbox

Use Checkboxes to take multiple inputs from a list of options. Do note that you must add this element inside a Form element for it to appear.

Radio

Use Radio buttons to take single input from a list of options. Do note that you must add this element inside a Form element for it to appear.

Ratings

Ratings are a way for users to rank a product or service based on their experience to provide information for others to see. Incorporating a Rating and Review system is a great idea if you need to boost credibility.

Listed below are the variations of the Rating element offered that you can choose from!

Search Boxes

Search is another must-have element that you may need to include as helps users easily find what they’re looking for. Here we have 3 different styles of Search options:

Steppers

A Stepper is a nifty input control that can be used to input numbers. This control consists of two parts – one button to increment and one to decrement the value along with its preview. Below is a list of the Stepper styles available:

Text Fields

Text Fields are a classic input control that you’ll need for any form. Here you’ll find a few more advanced versions of the element to further enhance your webpage.

Detail List

The Detail List Element is basically a pre-made data table and is the perfect choice for displaying a lot of information in a neat and simple way. Styles available are the following:

Tab

The Tab Pre-Built Element offers you a few more variations on your usual Tab element like the following:

Teaching Bubble

A Teaching Bubble is a kind of tooltip element that consists of a button and a speech bubble. Within that speech bubble is a heading, text description, and a pair of Yes and No buttons.

Clicking on the button should make the bubble appear and clicking on the Yes/No buttons should make the bubble disappear.

Options include:

Callout

Callouts are similar to Teaching Bubbles but the Yes and No buttons are instead replaced with a Link. Clicking on the button will make the bubble appear and clicking on it again should make it disappear.

Dialog

A Dialogue box is a pop-up like element with a message and two CTA options.

Modals

You can create custom Pop-ups using our Pop-up Builder but also use the following templates to speed up the design process. Options include:

Tooltips

Tooltips are helpful messages for users that should appear on Hover. For this, we have the following variations:

Alerts

Alerts are warning message templates and available are the following types:

Avatar Group

An Avatar Group is basically a grouping of User Avatars and you can choose between the following styles:

Cards

Cards are a great way to display a group of related content on a page. You can use these on a feature list page, a product archive page, and more.

Notifications

Notifications are small dialog boxes that can be used to notify users about something.

Sections

Sections of Droip

Next up we have Pre-Built Sections which you can access by clicking on its icon on the from the Pre-built Library.

Here, you’ll find a plethora of ready-made sections that you can use to speed up your design process and you can also fully customize them to match your preferences using the settings in the Style Panel.

Elements are the building blocks of a webpage, and you can configure and customize these to suit your needs using the various options available on the Style Panel.

In this documentation, we will briefly go over the Elements Panel, show you how to add an element, how to style an element, and more!

Elements Panel

Elements panel

To access the Elements Panel, click on the Elements tab on the Topbar. You should see this panel on the left side of your screen, containing all of the elements that you can use.

Speaking of, Droip offers 33 different elements covered across the following 5 categories:

  1. Layout: Consists of elements that you can use to build the structure of your webpage.
  2. Basic: This section contains elements that you most commonly need.
  3. Media: Here you’ll find your media elements to add images, videos, SVG, etc.
  4. Form Elements: Consists of all form-related elements like form blocks, labels, input fields, etc.
  5. Components: Components are self-contained and reusable modular building blocks that perform a specific function or display a particular piece of content on a web page. Navigation bars, Lightboxes, Collections, and other similar elements are all examples of components.

How to Add an Element

You can add elements to your canvas in three ways:

  1. The first method is to select where you want to place your element and click on the element you want to add from the Elements Panel.
  2. The second method is to click and drag the element from the Elements Panel and place it where you want on the canvas.
  3. Lastly, you can also drag the elements from the Elements Panel to the Layers Panel and place them where you want from there.

How to Style An Element

You can style these elements using the tools on the Style Panel. From here, you’ll find options to customize the following:

For more info, you can look at our Style Overview documentation and the dedicated documentation for each section.

How to Duplicate the Style of an Element

To maintain consistency and save time, you can duplicate the style settings of an element. Follow these steps:

  1. Select your element and open the Class Manager section in the Style Panel.
  2. Click on the field and create a new sub-class by typing a unique name.
  3. Select a different element of the same type and add the sub-class you created.
  4. Elements with this sub-class will adopt the same style settings.
  5. Any changes made to one element with this sub-class will update all instances with the same sub-class.

For more details on this feature, refer to our documentation on Class Manager.

How to Reuse Elements

Using Symbols, you can easily reuse elements or groups of elements with all their customizations intact. To convert an element or group of elements into a Symbol:

  1. Select the element or wrapper element (if multiple elements) and go to Layers > Symbols.
  2. Click on Create New Symbol, choose a Category and Name for the Symbol, and hit Create.
  3. Now, your element(s) become a Symbol that you can repeatedly use on any page.
  4. Editing the main instance of the Symbol from the Symbols Panel will update all other instances.

Check detailed information on Symbols.

Scalable Vector Graphics (SVG) is an XML-based vector image format for 2D graphics with support for interactivity and animation.

Why Use SVG Shapes? 

There are several reasons why you might want to use SVG shapes on your website:

  1. Scalability: SVG shapes are vector-based, which means they can be scaled to any size without losing quality. This is especially useful when creating graphics that need to be displayed on different devices with different screen sizes.
  2. Interactivity and Animation: SVG shapes can be animated and made interactive, making them a great choice for creating dynamic graphics and user interfaces.
  3. Small File Size: SVG shapes are usually smaller in file size than bitmap images, which can improve your website’s loading speed.
  4. Accessibility: SVG shapes can be made accessible for users with disabilities, for example, by adding descriptive text for screen readers.
  5. Style Control: You can easily control the appearance of SVG shapes making it easy to match your website’s style and brand.
  6. Reusability: You can reuse SVG shapes across multiple website pages, saving time and resources compared to creating multiple images.

These are just a few of the benefits of using SVG shapes on your website. By using SVGs, you can create visually appealing, fast-loading, and interactive graphics that enhance the user experience on your website.

SVG Elements

In Droip, we have two elements that are in the SVG file format. They are:

So let us go over how you can add and use these for your website.

How to Add Icons

  1. Add the Icon element to your canvas.
  2. Click on +Add From Media to open the Icon Library in the Media Manager
  3. Choose from a wide selection of icons provided by Droip.

📝 Note: Keep in mind that these Icons are fetched from a local pool and not from an external library that’s been called. This means that your Icon load time will be that much faster.

To learn more about the Icon Library, check out its section on the Media Manager documentation.

How to Add SVG Shapes From Media

  1. Place the SVG element on your canvas.
  2. Click on +Add From Media to open the Clip-Path & Shape editor, which is also accessible from the Media Manager.
  3. Under SVG Shapes, select a shape that suits your needs.
  4. Customize the shape by dragging its control points (vertices) to adjust or add more vertices as required.
  5. Use the right side panel to modify attributes such as Fill, Stroke Color, and Stroke Weight.

On the right side panel you’ll find the following options:

How to Add SVG Shapes Using Paste SVG

  1. Open your SVG file using your preferred IDE and copy its code.
  2. Then, select the SVG element and click on the Paste SVG option from the inline editor.
  3. Finally, paste the code and click on Update.

Uploading SVG Files

Upload SVG Files

If you want to upload and use your own SVG files in your designs and layouts, you can do that as well.

To do that, you have to first enable the SVG Upload option in the Upload Controls section of the Droip WordPress dashboard.

Lottie animations can be used to add interactivity, enhance visual appeal, and improve user engagement.

Uploading a Lottie File

To access free Lottie animations, you can explore various sources like LottieFiles, UI8, and Iconscout. These websites provide an extensive collection of both free and premium Lottie animations that you can download and integrate into your projects.

To upload a Lottie JSON File in Droip, follow these steps:

  1. Enable JSON FILES from the Upload Controls page, located in the Droip WP dashboard.
  2. Add the Lottie element from the Elements panel.
  3. Upload the desired Lottie JSON file and use it in your page design.

Lottie Settings

Embed Lottie in Droip

Lottie settings allow you to configure various options related to Lottie animation for optimal performance and file size.

Videos are a great way to capture visitors’ attention and keep them engaged with your website.

By using the Video element in Droip, you can quickly and easily add videos to your website and customize how they are displayed.

Adding Videos

To add a Video element to your page, follow these steps:

  1. Access the Elements panel.
  2. Drag and drop the Video element on the canvas.

Next, effortlessly insert your video file:

  1. Drag and drop the video file into the specified area.
  2. Alternatively, use the + Add From Media button to upload an existing video from your media library.

Embedding Videos

Embedd videos on Droip

Embed Video is a quick and convenient way to add video content to your website, allowing you to host the video on a third-party platform while seamlessly integrating it into your site. 

To embed a video, simply paste the video’s share link into the Embed Video field. 

Video Settings

Access the Video Settings panel by clicking on the ellipsis icon, which provides various options to optimize your video display.

Video settings of Droip

Replace Video

To replace the existing video with a new one:

Video Display Controls

Tailor how your video is presented on your website using the Video Display Controls. These options adjust the size and position of the video within the designated space:

Rotate Video

The rotate option allows you to rotate the video by 15 degrees per rotation. 

Attachment

The attachment option determines the video’s position relative to the content as the user scrolls the page:

Looping

Enable looping to have the video play continuously, or disable it for the video to play only once.

Audio

Enabling audio allows the video to play with sound while disabling it mutes the video.

Slo-Mo

Enable Slo-Mo for the video to play at a slower speed, or disable it to play at its original speed.

Controls

Enable Controls to display video player controls (play/pause, volume, full-screen), or disable it to hide these controls.

Set Custom Thumbnail

Use this option to add an image as a custom thumbnail for your video.

Play and Pause

The Play & Pause option in video settings allows you to control how the video starts and stops playing.

Play and pause Video settings of Droip

Start and End Time

Set specific start and end times to show only the desired portion of the video on your webpage.

Play Options

Customize how the video is triggered to play:

By using these play options, you can curate the video experience for your users, providing a better user experience on your webpage.

Adding images to your webpage makes your content more engaging and visually appealing for your visitors.

Use the Image element of Droip to add images to your webpage. This element allows you to upload an image file from your computer or choose a pre-existing image from the media library. You can also adjust the size, position, and other properties of the image. 

How to Add an Image

How to add an images on Droip

To add an Image element to your page, follow these simple steps:

  1. Access the Elements panel and locate the Image element.
  2. Drag and drop the Image element to the desired location on your canvas.
  3. You can then either drag and drop your image file into this element or click on the + Add From Media button to upload or choose an existing image from the media library.
Add image from media on Droip

Use Built-in Image Editor to Enhance Images

Droip comes with built-in image editing capabilities to optimize images for your website. You can crop the image to the desired size, adjust the brightness, contrast, and saturation levels, apply various filters to enhance the overall look of the image, and more! 

Learn more about Droip’s built-in image editor

Applying Effects

Add effects on Droip images

Effects can be utilized to enhance an image or create a specific mood or aesthetic. Here’s a brief overview of each effect that you can apply to your image:

Adding Links to Images

Adding links to images can be a useful way to provide additional information to users or direct them to other parts of your website or external sites. To add a link to an image:

Add links to image
  1. Click on the Link icon on the image inline editor.
  2. Link the image to a webpage, website, pop-up, etc.
  3. Choose how the link opens, such as from the same page or in a new tab.
  4. Optionally, specify the Rel attribute to define the relationship between the image and the linked resource.

Replacing Images

Replace an image on Droip

The “Replace Image” option allows you to swap an existing image with a new one:

  1. Click on the Replace Image button.
  2. Select the new image file from your computer or the media library.replace image

Blending Modes

Image blending modes of Droip

Blending Modes enable you to adjust the appearance of an image by applying different blending techniques. Each blending mode has unique properties that achieve various effects.

The available blending modes are:

Image Settings

Image settings of Droip

First up in the Image Settings, you get a drop-down to choose how you want to display the image. These options allow you to control how an image is displayed on a website by adjusting its size and position within a designated space.

Rotate button: The “rotate” option in image settings allows you to rotate an image by 15 degrees per rotation.

Load: Set how you want your images to load when a user visits this web page using this option.

Width: Define the width of your image.

Height: Define the height of your image.

Add ALT Text: This option allows you to add alternative text that describes the content or purpose of the image. Adding alt text to images is important for accessibility and SEO.

Attachment: The Attachment option controls how the image is positioned relative to the surrounding content as the user scrolls the page.

It offers two values:

  1. Scroll: With this option, the image will scroll along with the content as the user scrolls the page. 
  2. Fixed: With this option, the image will remain fixed in position on the page, even as the user scrolls. 

The Attachment option can be useful for creating certain visual effects or layouts, depending on the specific design and content of the website. 

For example, using the “fixed” option for a header or background image can create a parallax scrolling effect, where the background image appears to move more slowly than the rest of the content as the user scrolls, creating a sense of depth and motion. On the other hand, using the “scroll” option for an image within a block of text can help ensure that the image remains in the correct position relative to the text as the user scrolls.

For every element, you’ll find the following Custom Properties options which you can access by clicking on the ellipsis icon from their inline editor.

Visibility

Visibility: Use this option to show or hide your elements on the canvas. To show it, select Visible and to hide it, select Hidden.

Custom Attributes

Custom Attributes allow you to enhance your standard HTML elements by adding additional information to define more characteristics. This comes in handy when you need to achieve specific functionalities that are not readily available through built-in options.

How to Add a Custom Attribute

How to Add a Custom Attribute
Name and value of custom attribute

To add a Custom Attribute to any element on your canvas, follow these steps:

  1. Select the element you wish to modify.
  2. Access the inline editor and click on the ellipsis icon to open its settings.
  3. Click on Show to reveal the Add New Attributes option.
  4. Click on the + icon to add a new attribute and specify its Name and Value.
  5. The Name field should contain the name of the desired attribute (pre-defined in the system), while the Value field should contain any parameters associated with this attribute.
  6. Press Add to save the custom attribute, and it will be listed in the settings window.

Managing Custom Attributes

update custom attribute

Click on the ellipsis icon beside any of the attributes on the settings window to access the Edit and Delete options.

Custom Attribute Use Cases

There are many Custom Attributes available out there, and while we can’t cover them all, we’ve tried our best to highlight some useful ones that may come in handy in various situations.

Adding Tooltips

Tooltips provide context and purpose when users hover over elements. You can add a Tooltip to any element using Custom Attributes.

Select the element and access its settings. Open Custom Attributes and click on Add New Attribute.

Adding tooltips text

Set the Name of the attribute as title and the Value as your Tooltip text, providing a brief definition or purpose. Hit Add, and the tooltip text will appear when users hover over the element

Now when you hover over your element, this tooltip text should appear.

Turn Off Spellcheck

You can also turn off spellcheck for any Input Field using the Custom Attribute feature. 

Turn of Spellcheck
  1. Select the text field element and open the Input Field Settings.
  2. Add a new attribute from the Custom Attributes section.
  3. Set the Name as spellcheck and the Value as false.
  4. Hit Add to save this attribute, and the spellcheck will be turned off for the input field.

Renaming A Download File

Custom Attributes can also be used to rename files when users download them by clicking on a button or link:

Rename downloaded file
  1. Select the button or link element and access its settings.
  2. Click on Show to open Custom Attributes and add a new attribute.
  3. Set the Name of the attribute as download and the Value to the desired filename.
  4. Hit Add, and the file will be renamed accordingly upon download.

Creating a Descending Ordered List

To display Ordered Lists in reverse order, follow these steps:

Creating a Descending Ordered List
  1. Select your Ordered List element.
  2. Click on the ellipsis icon to open List Options and add a new attribute from the Custom Attribute section.
  3. Set the Name of the attribute as reversed (parameter not needed) and click Add to save your attribute.
  4. Your list will now be resorted in descending order.

Summary

Custom Attributes offer vast possibilities for enhancing your website’s functionality and user experience. To explore even more ways to customize your elements, refer to the list of All HTML Attributes that you can use.

📝 Note: Do keep in mind that some of these attributes may already be in use for the built-in Droip features so do double-check in case that option is already available.

Collections are a powerful way to fetch dynamic data to showcase on your website. Popular website pages that you can create using this element are Blog Archive Pages, Author List Pages, Documentation Archive Pages, and more!

Using Droip’s Collection element, you can easily narrow down the exact scope of the data you want to fetch through various criteria like Collection Type, Post Type, and Taxonomy! Depending on the structure of your website, the options listed within these types differ as they are also fetched dynamically.

How to Add a Collection

To add a Collection to your website, follow these steps:

  1. Access the Elements Panel from the Topbar Menu.
  2. Scroll down to the Components section.
  3. Drag & drop the Collection element onto your canvas.

Collection Types

Collection list settings

From the Collection Settings, you can define the scope of the data you want fetched and apply filtering, sorting, and other customizations. To access this, click on the Collection icon on the inline editor.

The first criterion you can set is the Collection Type. Here you’ll find the following options:

  1. Post: Choose Post Collection if you want to fetch content from various Post Types such as Blog Posts, Pages, Custom CSS, etc.
  2. Comments: Choose Comment Collection if you want to fetch user reviews posted on various content on your website.
  3. Terms: Choose Terms Collection if you want to fetch the Categories, Tags, etc that your website content is organized by.

Once you’ve selected your Collection Type, you can then configure the specific settings for that type.

Post Collection Settings

The first Collection option is Post. The Post Collection option extends beyond typical Blog Posts. In WordPress, various content types fall under the Post umbrella, including Pages, Attachments, and Custom CSS, among others.

Post Type

Once you set your Collection as Post, you can then go on to choose these specific Post Types. These options will vary based on the structure of your website.

Inheritance

Posts can be inherited. You can do so by ticking the Parent checkbox.

List Items Layout

Select the number of columns you want the Collection to consist of, ranging from 1 to 5 Columns.

Filter

Collection Filter settings of Droip

Set the filter method and criteria for the data. You can filter by:

To add a filter, click on the + icon that’s in this section’s top right corner. A new window called Add Filter should appear from where you can select the Method and other conditions. You can add multiple filters like this.

To edit or delete a filter, use the ellipsis icon next to each filter.

Sorting

Add sorting of collection

Specify the conditions to sort the Items by setting the Method and Order. From Method, you can select either Ascending or Descending. And for Order, you can choose which Attribute to sort according to.

To sort, click on the + icon that’s in the top right corner. A new window called Add Sorting will appear from where you can set the Method and Order.

To edit a Sorting, click on the three-dot icon that is beside each of them and choose the Edit option. You can also delete the Sorting by clicking on the three-dot icon again and selecting the delete option.

Items Pagination

Items pagination of Droip

Enable Items Pagination to limit the number of items displayed on each page. Once enabled, you will be able to set the following:

These settings will be automatically reflected inside the previously empty Pagination Wrapper.

Comment Collection Settings

Similarly, ‘Comments’ are another type of content that you’ll often find on websites. 

Comment Type

If you’ve selected Comment as your Collection, you can then go on to choose the Comment Type i.e. which set of comments you want to fetch.

Depending on your website’s structure and what’s installed on it, there can also be more than one Comment Type! Examples include Blog Post Comments, Product Reviews, etc.

Inheritance

Since comments are automatically inherited, nested comments can also be showcased easily.

Filter

Set the filter method and criteria for the Comments. You can filter by:

To add a filter, click on the + icon that’s in this section’s top right corner. A new window called Add Filter should appear from where you can select the Method and other conditions. You can add multiple filters like this.

To edit or delete a filter, use the ellipsis icon next to each filter.

Sort

Specify the conditions to sort the Comments by setting the Method and Order. From Method, you can select either Ascending or Descending. And for Order, you can choose which Attribute to sort according to.

To sort, click on the + icon that’s in the top right corner. A new window called Add Sorting will appear from where you can set the Method and Order.

To edit a Sorting, click on the three-dot icon that is beside each of them and choose the Edit option. You can also delete the Sorting by clicking on the three-dot icon again and selecting the delete option.

Items Pagination

Enable Items Pagination to limit the number of items displayed on each page. Once enabled, you will be able to set the following:

These settings will be automatically reflected inside the previously empty Pagination Wrapper.

Term Collection Settings

Lastly, we have Terms. Terms can be anything from Categories to Tags. For this, you can select the following:

Post Type

As mentioned previously, a Post Type encompasses many forms of content in WordPress. Here, you’ll find the options for Posts, Pages, and more.

Taxonomy

In WordPress, Taxonomy is a grouping mechanism used to organize content. Examples include Categories, Tags, etc. You can also create custom Taxonomies for every Post Type.

The options in Taxonomy will differ based on the Post Type selected as each Post Type has a different set of Terms.

Inheritance

Terms can also be inherited. You can do so by ticking the Parent checkbox.

Collection List Content

After you’ve configured the Collection element settings, your Collection List will be populated by this content dynamically. This is because the elements that make up a Collection Item have been set up by default to dynamically retrieve the information from the CMS itself.

Dynamic content settings of Droip

You can edit these settings by clicking on any one of these elements and opening its Dynamic Content Settings from their inline editor as shown in the image above. Here, you can choose the Type of Content in your data set you want to retrieve as well as specify its Value.

Static and Dynamic Elements in Collection

You can have both static and dynamic elements in your Collection List:

Static Elements

Static elements remain the same for all Collection Items. Simply drag and drop them from the Elements Panel into the collection, and they will be static by default.

Dynamic Elements

Certain Static Elements can be set up to fetch and show Dynamic Data. All you have to do is select it and click on the Data Collection icon to configure it.

Droip offers extensive customization options, but there are times when you may require additional custom blocks of code. That’s where the Code element comes in handy.

Using this element, you can easily add code in the form of HTML, CSS, and Javascript to your page. And not only can you use this to add custom code but also to embed third-party elements like Bootstrap Components, Social Buttons, Maps, and more.

Adding the Code Element

To add the Code element, follow these steps:

  1. Open the Elements panel.
  2. Scroll down to the Components section.
  3. Drag & drop the Code element onto your canvas.

Custom Code Editor

To open the custom code editor, click on the button at its center or the ellipsis icon on its inline editor. On the resulting pop-up window, you’ll find two tabs — Code and Web URL.

Code Tab

Droip code tab

This is the custom code editor. Here, you can directly paste your HTML, CSS, and JS code and then simply click on the Embed button to save.

Web URL Tab

Web URL tab of Droip

Here, instead of typing in the full code, you can instead paste the URL where the block of code you want to add is written. To do that:

  1. In the same pop-up window, switch to the Web URL tab.
  2. Instead of typing the full code, paste the URL where the desired code is hosted. Please ensure the code is publicly accessible on the web.

How to Embed Custom Code

Follow these steps to embed custom code:

Step 1: Copy the Custom Code

Start by copying the custom code you want to embed, either from your own code editor or a third-party resource. For example, consider the following HTML table:

<table>
    <tr>
        <th>User</th>
        <th>Country</th>
        <th>Email</th>
    </tr>
    <tr>
        <td>Tessa H.</td>
        <td>California, USA</td>
        <td>[email protected]</td>
    </tr>
    <tr>
        <td>Elend V.</td>
        <td>Scotland, UK</td>
        <td>[email protected]</td>
    </tr>
</table>

Step 2: Add the Code Element 

  1. Go to the Elements Panel.
  2. Drag and drop the Code element onto your page.

Step 3: Paste the Custom Code 

  1. Click on the ellipsis icon in the Code element.
  2. Switch to the Code tab.
  3. Paste the copied code here.

Step 4: Save Your Actions

Finally, click the Embed button to save the custom code.

Bonus: Adding Style

You can also Style this element by copying the Style code and going to the Pages Panel. Then, click on the ellipsis icon that’s beside the current page’s label. Select Settings and navigate to Custom Code. Paste the copied style code into the Inside <head> Tag section.

To apply styles to the Code element, follow these additional steps:

  1. Copy the style code.
  2. Go to the Pages Panel.
  3. Click on the ellipsis icon beside the current page’s label.
  4. Select Settings and navigate to Custom Code.
  5. Paste the copied style code into the Inside <head> Tag section.
  6. Save your changes.

Once it’s saved, you’ll be able to see the end result by clicking on the preview button on the top right.

Remember to exclude <html><body>, or <head> tags in your custom code, as they may interfere with the native code of the page and cause issues.

💡Tip: You can easily reuse custom code blocks by converting them into reusable elements using Symbols.