How to create css for blog mode of certain space?

Hello,

I created own style in refined original theme. But when i create a blog from one space (space with my own theme) i want to define CSS just for this blog (not only background, etc what i can set during creating blog), others have to be stylized by default. Is there any option for me? When i try to define styles in CSS of my theme, they arent used. Many thanks for help :)

Aleš

2 answers

1 accepted

Currently, that's not possible, please feel free to add a feature request here: https://refinedwiki.atlassian.net/browse/RWOT

So, negative answer is still answer :) Thank you Emil, i hope that it will be added to refinedwiki. Thank you for support! Ales

Hi Ales,

The only way to further style space blogs using blog mode is to use the global stylsheets feature by adding your CSS to Confluence admin > Look and feel > Stylesheets and start your selectors with body.rw_blog_mode like this:

body.rw_blog_mode .rw_page_title {

color:blue;

}

These styles will be applied to all space blogs which are using blog mode.

Please let me know if you have any further questions.

Cheers

These styles will be applied to all space blogs, but i need it only for blog mode for certain space. I have many blog modes for spaces, but only for one space i need stylized blog mode. Is it possible for only one mode?

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...

370 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