Awesome! I’ve set a specific selector and it worked. Thanks a lot!
Hi, I have a similar problem, I’m trying to highlight only one menu item at a time but whenever I add the -first suffix all stops working.
The “Allow only one highlighted element at a time” option is not checked in and i only have one menu with two buttons working.
I’m using Elementor builder and Divi from Elegant themes as a theme without the builder.
Here is the code I’m using:
.menu-item a{
color:#1e355f;
transition:color 80ms ease-in,box-shadow 130ms ease-in-out,-webkit-box-shadow 130ms ease-in-out}
.menu-item a.mPS2id-highlight{
color:#1e355f;
box-shadow:inset 0 0 0 rgba(68,107,168,0),0 5px 0 rgba(68,107,168,1);
opacity:.9;}
Thanks!