Simple text underline? Please help!!!

Hi, I’m trying to get the menu anchor text to underline when hovered over but can’t seem to get my head around this wix code. How could I do that? I found the MouseIn event, but where do I go from there? How do i apply a css style to the anchor? I would also like to have the anchor underlined for the active page. Please help! Thank you

That is a setting in the menu settings, there you can customize design to have the links underlined on hover and selection.

I only have color selection for the text. No underline options :confused:

Thank you for your quick response btw!

Please help :slight_smile:

Hi,
Currently, there’s no option to customize the menu using code. You can create your own anchor menu by calling the scrollTo function on the onClick event of a text element. Moreover, I wrote a detailed example here of how to add underline when text is hovered.

Good luck!
Tal.