Hi guys
I find the menuparent is useful but I think a "menuchild" class in all child objects would be useful.

I currently have a menu which has curved corners. I don't want the submenus to have curved corners but the first and last item in each menu was getting a curved corner. The problem is I couldn't find a class that affects all child items that does not also affect the parents. Using first, odd, even, or last also adds theming to the parent.

In order to remove the curved corners I've had to add a css entry for each "menu-0000" that in a child menu and picks up the corners incorrectly. This works but every time I add a new submenu I have to edit the css file to add the new "menu-0000".

I am convinced that the children are picking up the curved corners incorrectly and I'll try and solve this but I think the menuchild class would still be useful as it would have solved my problem and I'm sure someone else must have had this before.

Comments

bigmonmulgrew’s picture

Title: Add a class to chile menus for "menuchild" as opposed to "menuparent" » Add a class to child menus for "menuchild" as opposed to "menuparent"
avpaderno’s picture

Version: 7.x-2.5 » 7.x-2.x-dev
astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.