I need two different menu item styles on the same web page.

On one menu, I need the icons to appear on the left, and the other menu, I need the icons to appear on the right.

The attached patch allows this. For example, you can have 3 different templates in your theme:

menu-icons-css-item.tpl.php - general
menu-icons-css-item--menu-the-second-menu.tpl.php
menu-icons-css-item--menu-the-third-menu.tpl.php

Each styling the icons differently.

I also changed the default template name to menu-icons-css-item rather than menu_icons_css_item - because the dash style menu-icons-css-item appears to be standard practice now, and was actually required for the theme 'pattern' to work properly.

See the attached patch.

Comments

willieseabrook’s picture

acrollet’s picture

Status: Needs review » Needs work

thanks much for the contribution! Unfortunately, the codebase has changed enough to make this patch not apply cleanly - could you re-roll against the latest git checkout?