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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

524 views 19 11
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