update menu style for using last-child instead of menu-item-id