Anonymous Access CSS

Is there a way to style a Confluence Space specifically for anonymous access users?

1 answer

1 vote

You can't style by user at all, so no.  There are some Theming add-ons that might be able to help you in some ways (I know Themebuilder can change things according to who the user is, and the others might be able to do something similar too)

This is a bit of an unusual request though (which is why you can't do it natively).  Most users would expect to visit a website and have it look and feel the same whether they are logged in or not.  By all means, change all the options and menus when they're logged in, but not the look and feel controlled by the css.

To be more specific, we wish to hide the header for anonymous users. This can easily be done with CSS, however it also seems to be hidden for editors, which is not very handy. Will look into Themebuilder. Thanks for the quick answer.

We had to do something similar so we just built a custom theme plugin that would display certain things depending on whether the person was logged in or not. Nic is right though that Theme Builder offers the same capability and is an easier solution than having to build a plugin. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

375 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you