Home Forums WoodMart support forum Extra space below item in drop down menu with SVG Icon

Extra space below item in drop down menu with SVG Icon

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #240249

    Andre
    Participant

    Hello,

    We are having some problems with extra space appearing below menu items in the categories dropdown… If we reduce the length of text it seems to help – but as you can see even for shorter menu name it still is adding extra height.

    Thanks for your help!

    Attachments:
    You must be logged in to view attached files.
    #240267

    Hello,

    You need to open your SVG icons file with some editor like Sublime Text or default system text editor and add width=”31″ height=”40″ attributes to your <svg> tag like it is shown: http://prntscr.com/m4n0qw
    Then you will need to re-upload your icons in WordPress Dashboard.

    Best Regards

    #240273

    Andre
    Participant

    Ok – thanks. That seems to have made it very small… Is that the maximum width/height? 31px for width and 40px for height?

    #240344

    Hello,

    31/41 – are just a smaple value, you can set yours as per your needs.

    Best Regards

    #269211

    elite
    Participant

    whenever I remove the spaces whether the text long or short the space below the category disappears.

    #269327

    Hello,

    You see some of the icons are located properly, as they have the width inside SVG. https://prnt.sc/106tr9z

    This image has the width https://prnt.sc/106tx2band reflected correctly.

    Please follow the instruction provided above.

    Best Regards

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