0

In my menu, I want to add some text under the menu item. For example, I have 'About Us', and right under that, I want some subtext 'About our company'.

Do I add this in region.tpl.php?

1 Answer 1

1

Use superfish module for building your menu, and then whatever you type in your description depend on configuration will be print out too.

Under Advanced HTML Settings > Hyperlinks enable the "Include hyperlinks description (title) in hyperlinks text."

then simply add a display: block; style to the ul li a span to make it look the way you want.

you can see a demo HERE

6
  • I'm using Superfish, but I don't see that option.
    – vintorg
    Jun 9, 2013 at 18:20
  • I updated the answer so you can get a clearer shot at this.
    – Sohail
    Jun 9, 2013 at 18:29
  • It keeps putting it on the same line as the item. I want it below. I tried to add a line break, but no avail.
    – vintorg
    Jun 9, 2013 at 22:23
  • Dude.. it's quite obvious that it will put it right next to the title, you need to do a little bit of css, right now I'm at work and busy, I'll give you the exact instruction on how you do it when I get back home, and please consider choosing the answer as the right answer if it works! that's how we do it here
    – Sohail
    Jun 10, 2013 at 5:45
  • Updated the answer regarding your comment but I assume you might already figured that out
    – Sohail
    Jun 10, 2013 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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