Home New Guten Forums WoodMart support forum There is no spacing between the menu items in the desktop header

There is no spacing between the menu items in the desktop header

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #680021

    ros.g6w
    Participant

    If the menu items in the desktop header have icons, some menu items are stuck together. Actually the menu item’s text overflows it’c container.

    The reason is that the menu item icon has the style width: var(--nav-img-width, auto) !important; where the variable --nav-img-width is not defined.

    • This topic was modified 1 day, 18 hours ago by Artem Temos.
    Attachments:
    You must be logged in to view attached files.
    #680194

    Luke Nielsen
    Keymaster

    Hello,

    The SVGs don’t have width and height attributes. https://prnt.sc/3cfWp9nvN75x

    You need to open your SVG icons file with an editor like Sublime Text or the default system text editor and add width=”31″ height=”40″attributes to your svg tag like it is shown https://prnt.sc/N-wyqYgD3npT

    Then you will need to re-upload your image in the WordPress Dashboard.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)