Skip to main content
Solved

Limiting Visibility of Groups and Events Pages for Public Access

  • June 22, 2026
  • 5 replies
  • 16 views

beatriz.winn

We’re in the process of opening our community to public users with limited access and visibility. Has anyone successfully restricted access to or hidden Event and Group pages using CSS?

I’m considering removing them from the main navigation and surfacing them only through widgets instead. If you’ve taken a similar approach, I’d love to hear what worked, any challenges you encountered, and any best practices you’d recommend.

Thanks in advance for any guidance or suggestions.

Best answer by Alistair FIeld

@beatriz.winn 

 

We do a similar thing where we use groups for a very small subset. The navigation is hidden and the groups are private or hidden.

I have html widget linking to the group using the generic invite link as the button that is only visible to the select group.

That way anyone who clicks the widget will be added to the group without the need to request access and await approval.

A drawback we have seen is that once joined the group the user then needs to refresh the page to send the right data in order to show the content.

 

There was a recent release that lets you manage who sees the megamenu buttons by segments. 

If there is only a select group who you want to promote groups to, this is a nice way to keep full functionality with that particular groupo and NOT have to touch javascript/custom code.

 

5 replies

samanthahamlet
Forum|alt.badge.img
  • Gainsight Community Manager
  • June 22, 2026

Hey ​@beatriz.winn 

Interested to hear what others have done here too! 

In the meantime, there’s a section in this article about using code (in Third-Party Scripts) to hide content for Guest Users that you may find useful 😊

 


beatriz.winn
  • Author
  • Contributor ⭐️⭐️⭐️
  • June 22, 2026

Thank you ​@samanthahamlet ! 


Alistair FIeld
Forum|alt.badge.img+4
  • Expert ⭐️
  • Answer
  • June 22, 2026

@beatriz.winn 

 

We do a similar thing where we use groups for a very small subset. The navigation is hidden and the groups are private or hidden.

I have html widget linking to the group using the generic invite link as the button that is only visible to the select group.

That way anyone who clicks the widget will be added to the group without the need to request access and await approval.

A drawback we have seen is that once joined the group the user then needs to refresh the page to send the right data in order to show the content.

 

There was a recent release that lets you manage who sees the megamenu buttons by segments. 

If there is only a select group who you want to promote groups to, this is a nice way to keep full functionality with that particular groupo and NOT have to touch javascript/custom code.

 


beatriz.winn
  • Author
  • Contributor ⭐️⭐️⭐️
  • June 22, 2026

Thank you ​@Alistair FIeld! I was not aware of the Mega Menu release to manage visibility by segment! Now i just have to build the segment correctly for public access. 

I like your approach of using widgets for specific groups!That will solve another challenge we have with one of our user groups. 

 


Alistair FIeld
Forum|alt.badge.img+4

This idea would benefit us all.

 

We can now add members manually, but automatically would be AWESOME. That way we wouldn't need the invite workarounds.