How to add a class in li tag using wordpress menu ?

yes, it is very easy that we can add a class in li tag from the admin panel of wordpress.

without using the jQuery. WordPress allows us to add a class from its menu admin.

Login to your Woedpress menu

Go to Appearance —> Menus

Click screen options. now click on checkboox Css classes. make it checked like below screenshot:

How to add a class in li tag using wordpress menu ?
now go to memu item and add your class
check screeenshot:

How to add a class in li tag using wordpress menu ?
Save your menu.

That’s it.

We are accepting blogs for Tech News Write For Us category.