Assigning an ID or class to an Element

Updated on November 18, 2021

How to assign an ID or class to an Element

You may need to add a custom CSS or script to an element or create a one-page scroll menu. In such cases assigning an ID or a class to an element is crucial. You can assign both an ID or class to an element.

In order to do that:

1. In Elementor, select the element which you want to assign an ID or class to, so that a new dashboard on the left will emerge with the element’s settings.

2. In Advanced tab, and in the Advanced section, look for CSS ID option and CSS Classes and write your ID or class name for the element.

3. Update the page.

css id class

To add the custom css code for your custom class, refer to this article.

Did this answer your question?