Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

nav menu’s li CSS class names like `menu-` are gone

Home / Forums / Virtue Theme / nav menu’s li CSS class names like `menu-` are gone

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
February 6, 2020 at 1:22 pm

Hi,

I updated our theme from 4.9.19 to 4.9.21 (luckily only on the test system for now). There’s a change on the nav menu’s li items. This causes some “regressions” / side effects for us. Not sure this is intended so I thought I’d report here:

Before:

Notice that every menu item has a separate meaningfull normalized name like .menu-en, .menu-de, menu-home, menu-shop and so on. Makes it really easy to separately style single items. Like in this case adding the world icon only before the language switcher icons .menu-en and .menu-de

After:

Looking at the Changelog I think this might be caused by ” * Update: Nav Walker for better third party support.” in 4.9.20

I think I could change our CSS to use a selector like menu-item-9144-en instead. But I am not sure this change was intended as it can really cause side effects.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.