How do I hide the About, FAQ, TOS & Privacy Policy?

AI-generated summary

ludoan wants to hide the About, FAQ, TOS, and Privacy Policy pages from community members. MrDavis97 suggests using CSS to remove links to these pages from the hamburger menu, providing examples of CSS code.

However, wisedesk points out that the “hamburger menu” term might be outdated, as the sidebar has replaced it. They found that removing these pages from the overflow menu can hide them, but users can still access them directly via links.

keegan clarifies that the hamburger menu was indeed an older feature, replaced by the sidebar in 2022.

wisedesk shares their approach to hiding these pages: removing them from the sidebar options, changing their URLs, and using CSS to hide specific links. They ask if this will be sufficient to prevent the pages from showing up anywhere or if there are other ways to access these pages that they haven’t addressed.

How do I hide/remove access to the About, FAQ, TOS and Privacy Policy for the members of the community?

I don’t think you can get rid of the existence of the subpages themselves, but you can “hide” easy user access to them by using CSS. So, for example, if you want to remove links to them from the hamburger menu, you can use CSS, like

.hamburger-panel a.widget-link.about-link {
     display: none;
}

and

.hamburger-panel a.faq-priority.widget-link {
      display: none;
}

By “hamburger menu” are you referring to the sidebar? Usually “hamburger menu” refers to the menu on mobile only, but since this sidebar is also displayed with a hamburger icon, maybe this is what you’re talking about.

If so, perhaps this has changed since this original post in 2021. It appears that I can remove these pages from the overflow menu. People could still navigate directly to them with the link, but they wouldn’t show up here.

Please correct me if I got this wrong!

Yes I think the OP was referring to Discourse at the time which had a hamburger menu instead of a sidebar. It used to look something like this:

This was replaced shortly after in 2022 with the new sidebar being the default UI design, and the sidebar has brought many more features.

So what I’ve done to hide these is:

  • remove the pages from the sidebar options using “Customize this section”
  • changed the URL in settings for tos-url etc to a different page
  • added some CSS to hide the two particular links I want to hide, e.g.:
    nav-pills .nav-item-privacy {
      display: none;
    }
    .nav-pills .nav-item-tos {
      display: none;
    }
    

Is that going to be sufficient to prevent these pages from showing up anywhere or am I missing something?

I should clarify, that it all looks good to me, but I’m wondering if there are other ways of reaching these pages or viewing these links that I haven’t addressed.