2

I have created some menus with menu block module and placed it in my Drupal 6 site's left sidebar, also used menu icons module to put icon for each menu. But the end result is not satisfying. It demands more padding and text resizing to make it attractive. Can anyone suggest some other technique to add icons for menus in Drupal 6.

4

Try the css way

li.menu-mlid-600 > a {
    background-image: url('../images/my_icon.png');
    height: 150px;
    width: 200px;
    text-indent: -9999px;
    display: block;
}

But there are other ways. Google it. Here is another way:

How to use images for menu items in Drupal with a simple preprocessing function

| improve this answer | |
  • Thanks, followed this approach with little css styling and achieved the result. – Anson May 28 '12 at 3:38
3

I have successfully used menu icons to achieve this. It may require some theming to show up the way you want, but provides a UI for uploading images per menu item, and integrates with image cache/styles.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.