Apart from the plethora of elements and the various styling options on Droip, you can also add Custom Code. This is useful if you wish to customize your page further and make it your own using HTML, CSS & Javascript.

Custom Code in Droip

📝 Note: There may be cases where your Custom Code interferes with Droip’s performance and thus we cannot promise complete compatibility.

Compatible Code

As mentioned earlier, the compatible code that you can use is HTML, CSS & Javascript.

In the case of HTML Tags, make sure to use the appropriate opening and closing tags to ensure your code will work as it should. And, keep in mind not to include the tags <html><body>, or <head> in your custom code as it will cause your site/page to break.

Adding Custom Code

To add your Custom Code, head over to Pages > Settings > Custom Code. Here, you’ll find the following two text boxes:

Inside Tag

Inside <head> Tag

Code added here will be placed after <head> and before </head> tags. HTML tags like <link>, <meta>, and <style></style> must be placed here. You can also add the <script></script> tags but that will slow down your page’s load speed.

Before </body> Tag

Code added here will be placed before closing </body> tag. One thing to note is that adding <script></script> tags here instead of inside <head> tag usually helps to improve the site’s performance.

Pop-ups, also known as modals, are versatile dialog windows used to display information that requires user attention without navigating away from the main content. They are commonly used for confirming actions, providing additional information, or collecting user input.

Creating a Pop-up

Creating a Popup in Droip

To add a Pop-up to your page:

  1. Navigate to the Pages panel in the left sidebar.
  2. Click on the + icon and select New Pop-up to create a new Pop-up.
  3. Enter a name for your Pop-up, save it, and start editing.
Save the Popup to start desiging

Designing a Pop-up

Using Droip Elements and various customization options, you can create Pop-ups that seamlessly integrate with your website while meeting your specific needs.

Pop-up Settings

Popup settings in Droip

The Pop-up Settings allow you to control various aspects of the Pop-up. Select the pop-up on the canvas and click on the settings icon from the inline editor editor to access the following:

Pop-up Name

Assign a label to identify the Pop-up in the builder.

Display Conditions

Determine where and for whom the Pop-up will appear:

Set Display Condition to Entire Site

Set display conditions to entire site

The Pop-up will be displayed across all pages of the website, ensuring it reaches every visitor regardless of their navigation path.

Set Display Condition to User Role

Set display conditions to user role

Restrict the Pop-up to specific user roles. You can select roles such as Administrator, Editor, Author, Contributor, Subscriber, or any custom roles available on your website.

Set Display Condition to Posts

Set display condition to posts

Choose whether to display the Pop-up on specific blog posts. You can:

Set Display Condition to Pages

Set display condition to Pages

Select specific pages where the Pop-up will be shown. This allows for targeted messaging, such as displaying a subscription offer only on the pricing page or showing an announcement on the homepage.

Triggers

Select popup triggers in Droip

Set conditions for displaying the Pop-up:

Close Options

Animation

The Animation settings allow you to add motion effects to your Pop-ups for a more dynamic user experience. You can select from a library of pre-defined animations, including:

You can also adjust:

Pop-up Layout

Pop-up Layout allows precise control over the Pop-up’s positioning on the screen.

Set the popup layout in Droip

Set Position

Horizontal & Vertical Offset

Fine-tune the Pop-up’s position relative to its assigned section.

Example: To position a Pop-up 50px from the top, set Vertical Offset to 50px. To position it 50px from the left, set the Horizontal Offset to 50px.

By adjusting these settings, you can ensure an optimal, user-friendly experience for visitors.

The Pages Panel in Droip lets you create pages within your project. You can create new pages, add pre-made utility pages, browse and use templates, or create popups for various use cases.

Pages Panel in Droip

Clicking the + button at the top opens a menu with four options:

Action Menu Options

Action Menu Options in Pages

Click on the ellipsis icon (•••) beside each page to open the Action Menu, which includes the following options:

Applying Variable Mode

Accessing variable mode from pages

Clicking on the Variable icon lets you apply the Variables Mode to the page. This allows you to maintain consistent brand styles across all your pages by applying the global variables you’ve set for the project.

Page Settings

The Page Settings panel is organized into the following tabs:

General

General Page Settings in Droip

The General tab allows you to define essential details about your page:

SEO Settings

SEO Settings in Droip

The SEO tab helps optimize your page for search engines. It includes:

📝 Note: If you have an OpenAI API key added, you can generate a Meta Title and Meta Description with AI in one click.

Use the Preview field to see how your page will appear on SERPs. Once satisfied, hit Save.

Open Graph

Customize how your page appears when shared on social media platforms:

Custom Code

Custom Code Option in Droip

In this tab, you can add Custom Code to your page, allowing further customization using advanced features. For more information on using Custom Code, refer to our Custom Code Documentation.

Search & Filter Pages

Filter & Search Option in Pages

The Search & Filter options on top of the pages panel allow you to easily locate and organize pages within the project. With just a few clicks, you can quickly find the specific pages you’re looking for, making page management more efficient and streamlined.

Migrate With Droip

Droip offers a seamless migration option for existing pages, allowing you to edit them in Droip without losing your content.

To migrate a page:

  1. Open the page from the WordPress admin dashboad.
  2. Click Edit With Droip on the top of the page editor.
  3. A popup will appear with the message Safely Migrate to Droip.
  4. Click Convert to retain your existing content.
  5. The content will load on the Droip canvas, ready for editing.
  6. To start fresh, click Start From Blank (this will erase all existing content, so proceed with caution).
  7. Click Back on the popup to exit without making changes.

📝 Note: Starting from blank will delete all existing content permanently. Ensure this is your desired action before proceeding.