Submitted by admin on Wed, 12/23/2015 - 19:46
Typical usage:
Using Special Menu Item module, you would typically:
- Use a <nolink> value in the module's settings at /admin/config/system/special_menu_items
- Declare a nolink CSS property to assign the required stylings; this way to match the styles of the nolink item with the rest of the main menu items
<nolink>Services</nolink>
Common Issue:
With the above, you would normally exert and exhaust all efforts in matching the CSS attributes of the nolink to that of the main menu items.
Fix / Workaround:
Instead of trying to assign and match the nolink CSS to the main menus, we can instead simply assign a different HTML tag for the "nolink" value in the module's settings. We can instead assign simply a "<a href="#">" value. This way, instead of assigning a nolink CSS, we can simply ignore a nolink class, and instead let the default main menu CSS apply over the "unstyled" Special Menu item.
To illustrate, in your Administration » Configuration » System » Special Menu Items:
Instead of "<nolink>"
Use "<a href="#">"
Leave a Comment