2

I am styling a Drupal 7 website.

I want to create sidebar menu as shown in image on drupal platform version 7.

The menu has to be dynamic, so that if I add a new menu item I can do it easily and also able to add small image icon.

Template image

Layke
  • 51,422
  • 11
  • 85
  • 111
Milind More
  • 307
  • 1
  • 4
  • 15
  • What version of Drupal? If it's 7, it's under Structure > Menu, and then add your links to a secondary navigation. Then under Structure > Blocks, add your menu to the correct zone. – Layke Oct 22 '12 at 11:19
  • @Layke adding menu to block is not my problem, what i want is to add small images which are in round circles as shown in left sidebar with menus – Milind More Oct 22 '12 at 11:31
  • You should have said that in your original post. Please update your question. – Layke Oct 22 '12 at 11:32
  • @Layke 4th line does make sense ? please read question before you vote for it – Milind More Oct 22 '12 at 11:34
  • You've got a few ways of doing it. You could use CSS since each menu item gets a unique ID, but you could also install a module, such as views, and use that. By far the simplest solution would be to just use CSS to set an image for the menu list item based on the ID of the menu. – Layke Oct 22 '12 at 11:50

1 Answers1

3

The module menu_attributes allows you to set the ID or CLASS attributes for each menu item. Hope this is what you needed :)

Serjas
  • 2,184
  • 4
  • 21
  • 35