Removing (hiding) the "Personal" and "Settings" buttons

Hello everyone, I need your help. Maybe someone knows where the code is located that will allow you to remove the “Personal” and “Settings” buttons in the pop-up menu that appears when you click on the user icon, I can’t find it in any way. thanks!

The easiest way would be to use the Custom CSS app and add these style rules:

[data-id="accessibility_settings"] {
    display: none;
}

[data-id="settings"] {
    display: none;
}
1 Like

thank you very much, I couldn’t think of that! :sweat_smile:

1 Like

Not really secure.

In case such a limited user here in the forum ever searches for it.

a.) user can modify CSS code on client side (not too easy)
b.) user can access e.g. https://cloud.server.tld/settings/user :grinning:
(url can also found on all other Nextclouds)

But if you only want to hide it, it is a good solution.

if you can suggest where it would be possible to completely delete this item, it would not be bad :slightly_smiling_face:

1 Like

Oh yes you are right. Then the link also not works correctly. My mistake.

There remains then probably only the possibility simply to use the correct CSS.
Maybe it is possible with browser dev tools (F12). But i have not tested it.

View and change CSS - Chrome Developers
Style Editor — Firefox Source Docs documentation

1 Like