---
title: "How to hide the change password option for readers"
slug: "how-to-hide-the-change-password-option-for-readers"
description: "In some cases, you would want to restrict the readers from changing the password. Utilize the below workaround in such scenarios."
tags: ["Knowledge base design", "Customization"]
updated: 2026-03-10T04:14:19Z
published: 2026-03-10T04:14:19Z
---

> ## 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.

# How to hide the change password option for readers

In some cases, you would want to restrict the readers from changing the password. Utilize the below workaround in such scenarios.

---

## Solution

1. Navigate to **Settings** (<nor class="fa-solid fa-gear" data-tomark-pass=""></nor>) > **Knowledge base site** > **Site customization** > **Custom CSS & JavaScript** in the Knowledge base portal.

![Site customization options including CSS, JavaScript, and theme settings for a knowledge base.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Custom%20css%20&amp;%20js.png)
2. Paste the below code snippet in the **CSS** tab.

Knowledge base Site 1.0Knowledge base Site 2.0

```css
header .header_top .user-dropdown-content .user-detail .portal-link a, header .header_top .user-dropdown-content .user-detail .portal-link .changePassword{ 
   display:none; 
 }
```

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

1. Click **Save**.

![CSS code snippet for hiding specific dropdown items in a navigation bar profile.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Hide%20change%20password%20for%20readers.png)

** NOTE

This change applies to all the readers.

---

### Outcome

#### Before

The change password option was available for the readers. ![13_Screenshot-Before_change_password](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/13_Screenshot-Before_change_password.png)

#### After

The change password option has been removed for the readers. ![12_Screenshot-After_change_password](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/12_Screenshot-After_change_password.png)
