Element ID and class

Last updated: March 31, 2022 Written by: Avatar Magdalena Dejnak
share
Table of contents
share
Table of contents

Every element that you put on your landing page has its unique ID number. You can use it to redirect to a section or any other widget, such as the text widget. The ID can not be changed.

You can add a class to any element to assign an action to it or any other function, and you can edit its value anytime. You can use it to create unfolding sections, display pop-ups after clicking on element, animate elements, or create sliders.

Find the element ID and add a class

1. Log in to your Landingi account and navigate to the editor of your landing page.

2. Click an element and go to the Other tab in the toolbar on the right.

3. Unfold the tab. You will see the element ID (1) and the class field (2).

4. Now, you can copy the ID number or add a class to the element.

Elements ID numbers are always the same, e.g., form fields on a lightbox have the same ID numbers, regardless of the landing page to which the lightbox is connected. 

NOTE: Elements ID numbers may change when duplicating a landing page. It will affect your integrations based on elements IDs thus check twice if the numbers are correct.

share

Was this manual helpful?