change css class of menu item


I try to change the css class of a WordPress menu item

By default it give me:
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4854"

By i need this line:
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4854"

menu-item-4854 is added automatically and okay.

can i solve this in the custom CSS?


Marcel Kraan 2 months 0 Answers 9 views 0

Leave an answer