Hide a section of the sidebar for anon

getting the data section name correct is important. for example, if the replaced text has a space like on my forum, it needs to be a dash, and all lower case (eg: my site i have replaced “Community” with CFL Forums and the scss data section name is “cfl-forums” if i want to hide it). data section names are basically slugs.

// * hide any section in side-bar from anon users - "Section Name" = section-name * //

.anon .sidebar-section-wrapper.sidebar-section[data-section-name="section-name"] {
    display: none;
}