Hello
Actually the color of menu text "Menu Dropdown Text Active Color" can be changed in Templates: Styles (Site):
Template Options: Presets
However, for the active item in the drop down menu, this does not work.
The code shows up in the page, but the color I want (#ff6666, set in Templates Styles) is not used:
.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
color: #ff6666;
}
The color #ff6666 is not displayed!
When I apply the following code to the user.css: (This code is used to generally set the gradient, not to fix the issue discussed here, but it has impact on what we discuss here)
:root {
--gradient-color-1: #0339fc;
--gradient-color-2: #0339fc;
}
Now the active text item in the drop down menu shows the color of the gradient!!!!
This is what is in the page:
.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
color: #ff6666;
}
.sp-megamenu-parent>li.active>a {
background: linear-gradient(145deg, var(--gradient-color-1), var(--gradient-color-2));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}
My question: How to change "Menu Dropdown Text Active Color"? The problem is only the active text item. All other menu items such as 'hover' or 'inactive' can be changed.
BTW, sorry, the code foematting does not work in this forum.