You are here

README.txt in Menu Icons 7.3

Same filename and directory in other branches
  1. 8 README.txt
  2. 6.2 README.txt
  3. 6 README.txt
Menu Icons Module
================================================================================

DESCRIPTION:
--------------------------------------------------------------------------------
This module allows you to upload an image in the menu-item's configuration form.
The uploaded image is added as an background image to the menu item.

USAGE:
--------------------------------------------------------------------------------
After installing the module you can configure its global settings by navigating
to: admin/config/user-interface/menu_icons. Uploading an image for a menu-item
can be done at the menu items settings form (e.g.:
admin/structure/menu/item/1/edit).

The text of the menu item can be hidden by the adding the following CSS code to
your theme's stylesheet:

.menu_icon {
  display: block;
  overflow: hidden;
  padding-left: 100%;
}

DRUSH:
--------------------------------------------------------------------------------
nb: if you clear cache with drush without a site explicitly configured,
the CSS generated by menu icons will be incorrect. This is due to a
limitation of drush, in that it doesn't know the site's URL if you don't
tell it. To pass the site's URL, use the -l flag to drush, or better
yet, permanently configure drushrc.php. For more information, see:
http://drupal.org/node/1520414 and http://drupal.org/node/743368

File

README.txt
View source
  1. Menu Icons Module
  2. ================================================================================
  3. DESCRIPTION:
  4. --------------------------------------------------------------------------------
  5. This module allows you to upload an image in the menu-item's configuration form.
  6. The uploaded image is added as an background image to the menu item.
  7. USAGE:
  8. --------------------------------------------------------------------------------
  9. After installing the module you can configure its global settings by navigating
  10. to: admin/config/user-interface/menu_icons. Uploading an image for a menu-item
  11. can be done at the menu items settings form (e.g.:
  12. admin/structure/menu/item/1/edit).
  13. The text of the menu item can be hidden by the adding the following CSS code to
  14. your theme's stylesheet:
  15. .menu_icon {
  16. display: block;
  17. overflow: hidden;
  18. padding-left: 100%;
  19. }
  20. DRUSH:
  21. --------------------------------------------------------------------------------
  22. nb: if you clear cache with drush without a site explicitly configured,
  23. the CSS generated by menu icons will be incorrect. This is due to a
  24. limitation of drush, in that it doesn't know the site's URL if you don't
  25. tell it. To pass the site's URL, use the -l flag to drush, or better
  26. yet, permanently configure drushrc.php. For more information, see:
  27. http://drupal.org/node/1520414 and http://drupal.org/node/743368