0

I have a menu (Main menu). It's a superfish based menu that contains simple dropdown appearances. This menu doesn't have any Superfish style attached to it. It just uses the JQuery of this library and that's it; because of this reason I now need to attach arrows to these specific menu links that contain dropdows... Is there any simple module for this purpose and would you even recommend a modular solution in this case?

1

I would recommend that you use the settings of the Drupal Superfish menu itself. There is an option to use "Auto-arrows".

They can be further themed via CSS.

Superfish settings (in configure superfish block) enter image description here

This is your site html source. That auto arrow element is there, but because it uses a white background-image you will not see it, so style it like you need it.

enter image description here

  • Before I asked the question I've looked for such thing but didn't find it... I guess I missed it... Could you just indicate where is it exactly? – JohnDoea Feb 26 '15 at 7:33
  • 1
    I have attached a screenshot. – Stefan Korn Feb 26 '15 at 7:39
  • Oh... It doesn't work when there is no style... (i.e when style is set to "none")... any alternative to these specific cases when you would prefer to build the style customally? – JohnDoea Feb 26 '15 at 7:43
  • As for my side it does also work when there is no style set. You will get <span class="sf-sub-indicator"> ...</span> and can style it like you want to. – Stefan Korn Feb 26 '15 at 8:11
  • Where should I see the class you mention? At what file? – JohnDoea Feb 26 '15 at 9:26

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.