Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add css class option to image element of menu items #16456
Pull Request for Issue #16447 .
Summary of Changes
Currently we can set a custom class only for anchor element of a menu item.
Simply add a new menu element and notice the presence of "Image CSS style" option under the "Link options" tab.
Adding a class name under "Image CSS style" will apply a custom class to the img element of menu link item.
It's not possible to add a custom class to the img element.