Style Active Button (Premium)

Daniel

Last Update 3 years ago

To style the active button, you can use the ef-activebutton class, that gets automatically added to the button after being clicked.


For example:

/* makes active button darker */

.ef-activebutton {

filter: brightness(50%);

}


/* changes background color of active button */

.ef-activebutton .elementor-button {

background-color: #5E2CED;

}

Was this article helpful?

0 out of 2 liked this article