Add custom class to menu-item container if has image
-
Can you add a has-icon class name to the main menu item?
Something like: <li id="menu-item-99" class="menu-item has-icon"> <a href="https://twitter.com"> <img width="30" height="30" src="../twitter.png" alt="Twitter" title="Twitter" /> </a> </li>
`
It would help us to manage padding and margin settings if menu image added.
Thanks for the great plugin!
https://www.ads-software.com/extend/plugins/nav-menu-images/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Add custom class to menu-item container if has image’ is closed to new replies.