Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have installed your module.
When I have create a new menu, I find that CSS ".menu-733, ul.links li.menu-733" the height is the same of image's width.
I post the patch that I have used for my website.
I hope it can be useful. :D
bye bye. .hachreak.
Comment | File | Size | Author |
---|---|---|---|
menu_icons-6.x-2.4.diff | 1.57 KB | hachreak |
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedGood patch. Thanks
Comment #2
skilip CreditAttribution: skilip commentedComment #3
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedWorks for me should be committed.
Comment #4
simoneg CreditAttribution: simoneg commentedPatched it manually and it works great now. Should be committed. Thanks so much.
Comment #5
hwasem CreditAttribution: hwasem commentedThanks for the patch suggestions. I found this exact problem in version 7.x-3.0-beta3. The changes were slightly different from the patch as this is Drupal 7...
Changed menu_icons.module:
line 307 as follows:
line 323 as follows:
Changed menu_icons_css_item.tpl.php:
line 23 as follows:
I re-added the image to the menu and the height of the items were now displaying properly. I hope this helps someone else in the future.
Comment #6
hwasem CreditAttribution: hwasem commentedUpdating version since this is a problem in the current version as well.
Comment #7
xaa CreditAttribution: xaa commented#5 works. thanks
Comment #8
acrollet CreditAttribution: acrollet commentedCommitted in http://drupalcode.org/project/menu_icons.git/commit/a9625bc, thanks!