Documentation Index

Fetch the complete documentation index at: https://docs.document360.com/llms.txt

Use this file to discover all available pages before exploring further.

As of 22 Nov 2025, the Markdown editor has been upgraded from v1.4.10 to v3.2.2. The toolbar, layout, icons, and editor structure remain unchanged.

How to hide the change password option for readers

Prev Next

By default, readers who are logged into your knowledge base site can change their own password via the profile dropdown in the site header. In some scenarios, such as when passwords are managed centrally by an administrator, when SSO is used for authentication, or when you want to enforce a specific password policy, you may want to remove this option from the reader-facing interface entirely. You can hide the Change password option using a CSS snippet.

NOTE

This change applies to all readers across your knowledge base site. It cannot be scoped to specific reader groups or individual accounts.


When to use this

Use this customization when you want to:

  • Prevent readers from changing their own passwords, for example, when passwords are centrally managed or governed by a password policy.
  • Remove the option for knowledge bases where authentication is handled through SSO, in which case the Change password option is irrelevant to readers.
  • Simplify the reader profile dropdown by removing options that do not apply to your authentication setup.

Before you begin

  • You need access to Settings (

    ) > Knowledge base site > Site customization > Custom CSS & JavaScript in the Knowledge base portal.
  • This CSS hides the Change password option in the UI, it does not technically prevent a password change if a reader accesses the option through another path. For stronger access control, manage reader authentication at the identity provider or reader settings level.

How to hide the Change password option for readers

  1. Navigate to Settings (

    ) > Knowledge base site > Site customization > Custom CSS & JavaScript in the Knowledge base portal.

    Custom CSS and JavaScript settings panel in the Document360 Knowledge base portal

  2. From the left navigation pane, select the CSS tab and paste the following snippet.

Hides the second dropdown item in the profile navigation bar, which corresponds to the Change password option.

.nav-bar-profile button.dropdown-item:nth-of-type(2) {
    display: none !important;
}
  1. Click Save.

    CSS tab showing the Change password hide snippet saved in the Custom CSS and JavaScript panel


Outcome

Before

The Change password option is visible in the reader's profile dropdown.

Reader profile dropdown showing the Change password option before applying the CSS

After

The Change password option is removed from the reader's profile dropdown.

Reader profile dropdown with the Change password option hidden after applying the CSS


Best practices

  • Note the selector approach. The snippet uses :nth-of-type(2) to target the second dropdown item. If Document360 updates the order of profile dropdown items in a future release, this selector may target the wrong item. Test after any significant platform update.
  • This is a UI change, not an access control. Hiding the option makes the change password path invisible to readers — it does not revoke their ability to change passwords through other routes. For stricter control, manage reader authentication at the SSO or reader settings level.
  • Test after saving. Log in to your knowledge base site as a reader and confirm the Change password option is no longer visible in the profile dropdown.
  • To revert, delete the snippet. Navigate back to the CSS tab in Custom CSS & JavaScript, remove the snippet, and click Save. The Change password option reappears immediately..