/*Reverse sticky header*/
  1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Prevent users from editing their Nicknames on mobile view

Prevent users from editing their Nicknames on mobile view

By default we do not have a specific setting that will prevent users to edit their Nicknames. You can use the CSS code below to achieve this on your site in a mobile view. 

1. Go to BuddyBoss > Theme Options

2. Under Custom Codes, enable CSS

3. Append the following:

@media (max-width: 768px) {
#profile-edit-form .field_nickname input { pointer-events: none; }
}

4. Save changes.

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

With the code:

Without the code:

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Support

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

"*" indicates required fields

Get Started

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

Name*