Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I add custom stylesheets for ALL spaces?

I realized that I can use global stylesheets but that they are not applied on a space level.

Of course it is possible to add individual stylesheets for each space, however, I would like to apply one stylesheet as a default stylesheet for all spaces.

Anything on that?

2 answers

2 accepted

0 votes
Answer accepted

Hello Markus

To apply stylesheets that will affect the entire site, use the General Configuration > Locate Look and Feel at the left column > Stylesheets. These style sheets will be applied throughout the site, as long as they target the right elements & id:s. If there is a conflict in styling, you may need to adapt your changes to that they ”win”.

Best Regards, Maria Heij

Thanks! The global stylesheets work now on all spaces. Probably there was some cache problem - I had to restart the Confluence service recently and this solved the issue.

Hi! I'm using cloud-hosted Confluence and this doesn't exist - General Configuration > Locate Look and Feel at the left column > Stylesheets.

I can only see "PDF Stylesheets".

Furthermore, I tried enabling per-space stylesheets, but Security Configuration > Custom Stylesheet for Spaces is grayed out. Why is that?

Hi there

My response above was intended for Confluence Server .

As I understand it, the stylesheet options for Confluence Cloud are more limited: However, I can't say why that option is disabled on your space, though, could it be a permission issue?

Best Regards, Maria Heij

0 votes
Answer accepted

To change the look and feel of a space, please see Customizing Site and Space Layouts.

My understanding is that the Stylesheet at <Confluence_Base_URL>/admin/viewstylesheet.action does apply to spaces, unless the space has it's own stylesheet, as that page reads:

You can customize the look and feel of Confluence by editing the global stylesheet. This will also overwrite all styles defined in custom global themes.
Please note that the custom global stylesheet will not be applied to spaces that define their own custom stylesheet or are using a theme.

Please let me know any follow-up questions.

Well we are using the RefinedTheme this is true, so maybe that's interfering here. However, I thought that I can use the global stylesheet exactly for that. To make changes to the entire systems including all spaces.

If I want to change something for all spaces, which way do I have to go: a) global stylesheet, b) somehow a global change in RefinedTheme?

AnnWorley Atlassian Team Feb 22, 2018

It is my understanding that the Refined Theme for Confluence controls the look and feel of the spaces - there is a Spaces section in the Theme configuration as documented by the vendor, RefinedWiki: Theme configuration.

Since you are working with a RefinedWiki theme, I am moving your question to the collection where I think they are more likely to see it. Since they specialize in their products, they may be able to help you more.


Hi ,

Can I add custom stylesheets for ALL spaces by rest api? May I get the url and parameters?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

562 views 5 20
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you