emulsify version (see releases):
3.0
node version:
11.15.0
npm (or yarn) version:
6.7.0
What you did:
Installed Simple Menu Icons (simple_menu_icons) module, added menu to footer, uploaded an icon to a menu item, saw the menu item title but not the icon.
What happened:
Menu item icon did not appear.
Reproduction repository (if necessary):
n/a
Problem description:
This module produces CSS menu (sites/default/files/css/menu_icons.css) and the structure looks like this where the icon is added through a background image:
a.menu-icon-15,
ul.links li.menu-icon-15 a,
ul.menu li.menu-icon-15 a {
background-image: url(/sites/default/files/menu_icons/linkedin-16.png);
padding-left:16px;
background-repeat: no-repeat;
background-position: left center;
}
I found that my menu code markup was like this:
<ul class="menu menu--level-0">
<li class="menu__item menu__item--level-0">
<a class="menu__link menu__link--level-0" href="https://linkedin.com">LinkedIn</a>
</li>
</ul>
I've also added this issue as a comment on Drupal.org: https://www.drupal.org/project/simple_menu_icons/issues/2998171#comment-13414675
Suggested solution: