5

Magento2 - I am trying to put some icons in my navigation menu, I want them to be on top of the subcategory name but this is what I have until now:

problem with navigation menu

This is my code for the first item, I have it in >Magento Theme>web>css>source>_module.less:

.navigation li:nth-child(1){
.lib-icon-font(
@_icon-font-content: @icon-phones2,
@_icon-font-color: @color-gray-omnie1,
@_icon-font-color-hover: @color-gray-omnie1,
@_icon-font-color-active: @color-gray-omnie1,
@_icon-font-size: @tamanho-iconos,
@_icon-font-vertical-align: top,
@_icon-font-margin: 0 0 0 30px
);
}

Thank you!

1
  • can you share the link?
    – Altravista
    Commented Sep 21, 2018 at 13:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.