Why i cant edit horizontal menu with css?

I’m having trouble with
adding custom css to my menu and it says that menu elements aren’t supported by CSS yet

Working in
wix Studio Editor

What I’m trying to do
make animation when hovering over menu elements that they are getting underlined just like on this website Find a branch - Interchange FX

When did you add the menu to the site? It should be supported :slight_smile:

Here is the screenshot

I dont have any css classes that i can access and edit

Can you help me somehow im stuck with this problem for two days?:melting_face:

Strange - you’ll still get the autocomplete for the horizontal menu, and when applying CSS properties, it works. But the panel isn’t showing, so you can’t apply a custom class.

For example, this works (although will apply to all menus on the site):

.horizontal-menu__item {
    background-color: pink;
}

I’d also recommend opening a ticket for this, following the steps outlined in this topic.

I realised also when i add horizontal menu and hover over it it says only menu not horizontal menu.

I watched few tutorials about applying custom CSS on menus and every video had like #horizontalmenu and number of course.

You can find all of the CSS classes for the types of menus here - https://dev.wix.com/docs/velo/velo-only-apis/$w/menu/css-classes

1 Like

Thanks anyways i managed to do it somehow :grin: :partying_face:

1 Like

Hello Riske, I have exactly the same issue, trying to create the same menu underline effect. How did you manage to get yours to work? Thank you.

Looking at your CSS tab, You are using selector # instead of class (.) that might be the issue.

Hello V-Blog,

Here is the code that I am using. I am directly referencing “horizontal-menu__item-label”, as I can’t create a new class with inherited attributes, as Wix Studio is reporting “Menu elements is not yet supported in CSS”. N.B. I have also tried “horizontal-menu__item”, as well as “menu__item-label” and “menu__item”, all to no avail.

However if I apply exactly the same code to a Rich Text element, it works perfectly.

Oh.. I see that…

Apparently it has been deprecated - Menu CSS Classes | Velo

Hello V-Blog, thank you for replying. I looked at the documentation and as I understand it, only the Dropdown menu classes are depreciated, not the Horizontal menu class. I may be wrong about that.

However I tried out the Background colour example as provided by @noahlovell community manager, and that worked as expected.

Screenshot 2026-03-09 at 12.27.09