Element states

Last Update: May 19, 2025

When you style the elements on your page, you can create three substyles for the element. These substyles are known as states or pseudo-classes. These states are:

  • Hover: How the element appears when visitors mouse over it.
  • Focus: How the element appears when visitors focus on it, usually by clicking on it or tabbing to it.
  • Active: How the element appears when element is selected.

Add a state to an element

To add a state

  1. Open the Elementor Editor.
    image 18 Element states 1
  2. Select an element.
    The options appear in the panel.
    image 19 Element states 3
  3. In the panel, click the Style tab.
    Select the class Element states 5
  4. In the Classes field, locate the class you want to edit.
    click the ellipses Element states 7
  5. Click the ellipses.
    Select hover Element states 9
  6. Select the state you want to edit.
    The chsoen state Element states 11
    Notice the state appears in the CSS classes field and is colored green. This indicates that you are editing the element in this state. If you edit a local class, the class will be pink instead of green.
  7. Use the Style options to set how the element will appear in the selected state.
    For details about the different Style options, see the individual articles on style options:
On this page

Share this article