דף פרופיל משתמש / מחלקת CSS לקבוצות / איך להוסיף אותו לדף?

That component adds the CSS classes of the current logged in user to all pages the current user is viewing.

What you want is the opposite, to add group classes of the current viewed user profile page.