Add some kind of unique attribute to each menu item in Your Account and in menus created on page nodes

RobinHood

Well-known member
This would make it easier to style with icons and more robust to future changes.

I'm using nth child at the moment to add icons, however this menu can change as features get switched on and off, such as signatures, user upgrades etc. So it would be nice if you could target specific menu items if items get added or removed, or they change order.

1612043950550.png


This would also be useful for menus created in pages from listing sibling and child nodes. Again, I can target them using nth child, however you have to remember to update the CSS then on every page each time a new page gets added/removed or the order changes.

1612044099057.png
 
Upvote 5

RobinHood

Well-known member
Would also be useful in the user account menu for adding icons there too where permissions may mean users have different menu items, screwing up the icon order

1612266435867.png
 
Top