I am using the Pixture Reloaded theme with superfish menus, but I find the descriptions of the menu items (particularly on the admin menus) annoying because they display too quickly upon hovering, making it hard to read submenus. Is there an easy way to disable the descriptions, without having to go through and delete each one individually? Alternatively, is there a way to increase the delay before they are displayed?

Thanks

Comments

ainigma32’s picture

I'm assuming that you want to remove the value of the title attribute of the actual link in the menu item (wow that's quite a mouthful ...)

This sets the title attribute from all the primary links to blank:

  foreach ($vars['primary_links'] as $item_name => $item_values) {
    $vars['primary_links'][$item_name]['attributes']['title'] = '';
  }

Just add it to the pixture_reloaded_preprocess_page() function in template.php

In this theme you might have to change the $vars['primary_links'] for $vars['superfish'] but since I don't use this theme that's something you have to test yourself.

If you want to control which titles are set to blank then you should add an if statement to the code.

HTH

- Arie