Skip to main content
Question

CSS to hide the Change password button on the My Profile Page

  • May 30, 2024
  • 4 replies
  • 69 views

Hi

I read else where that the CSS code below would remove the “Change Password” for Super Admin.  I have plugged this in but it removes it for users only. 

Does anyone have code to remove the “change password” for super admin?  Or does it matter?

 

/*hide the “Change Password” section the “My Profile” page*/

#vertical-tab-changePassword {

display: none;

}

4 replies

gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • May 30, 2024

That code works fine on my platform.

Maybe a hard browser refresh..?


yes that worked!!  Thank you!

 


emily.mccarthy
Guide II
Forum|alt.badge.img+4

I would suggest using this option in the Advanced Setting > Users.

 


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • May 30, 2024

@emily.mason 

That is perfect for users but it doesn’t hide it for admins so you have to resort to the CSS to fully hide it.