Community Post Query: Hiding the User Profile Pop-up (User Card) in RC 7.10.0
Hello everyone,
I’m running a Community Self-Hosted instance of Rocket.Chat version 7.10.0.
I need to disable or hide the User Profile Pop-up (User Card) that appears when a user clicks on an avatar or a username, as shown in the attached image:
This pop-up provides user details and options (like viewing profile, muting, reporting) which we need to restrict or remove entirely for a streamlined experience.
Since there is no direct admin setting to disable the click action, I believe the solution involves using Custom CSS to hide the pop-up globally when it appears.
I plan to use the following CSS in Administration > Layout > Custom CSS:
/* This selector targets the User Card/Pop-up element */
.rcx-user-card {
display: none !important;
}
/* Optional: This may also be needed to block the backdrop/shadow */
.rcx-modal-backdrop {
display: none !important;
}
