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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,169 views 4 6
Read article

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