1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Prevent users from editing their first name, last name, and nickname

Prevent users from editing their first name, last name, and nickname

Table of Content

By default, the platform does not have this option. You can use the following CSS code.

Please follow the steps below:

1. Go to BuddyBoss > Theme Options

2. Under Custom Codes, enable CSS

3. Append the following:

#profile-edit-form .field_nickname input, #profile-edit-form .field_first-name input, #profile-edit-form .field_last-name input { pointer-events: none; }

4. Save changes.

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://buddyboss.com/support-policy/


Screenshots:

Without code

With code

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.