Hey @zerotoone.de,
The area surrounding the text is clickable as you can see in the screenshots below.
Regarding the effect, you will need to target the main Navigation Inline element for that. Please remove the previous code and follow the tutorial below.
Opacity is also not the correct method for that effect that you need. You should use font colors instead and rgba color value to achieve text opacity.
.x-menu:hover .x-anchor .x-anchor-text-primary {
color: rgba(0,0,0,0.5) !important;
}
.x-menu .x-anchor:hover .x-anchor-text-primary {
color: black !important;
}
As you’ve noticed, x-menu
is the parent element in the Navigation Inline structure. Therefore, you could target that with $el
if you’re going to use the Element CSS.
Since this is a customization, this is as far as we can help. If you need changes or need more customization, please consult with a third-party developer.
Hope that helps and thank you for understanding.