How to apply the CSS to topics in a space?

I am fairly a new user to Confluence. I am not sure where am I going wrong on this one. So I have created a basic CSS with heading styles, table styles, list styles, para style and pasted in Space Tools > Look and Feel > Stylesheet. My expectation was that these styles will apply by default to all the existing pages (using the various inbuild templates) inside that space wherever the relevant style is used. However, the styles apply to only those pages that I create using the default template and not the inbuilt ones. I really use the troubleshooting template and how to template. How do I customise them to use my stylesheet. P.S. I have applied the CSS to Global Stylesheet as well but I don't know if it is applying it anywhere. Thanks.

1 answer

0 votes

Hi Arpita,

It might be that those pages are using a different style or class to customize them that have a higher priority than what you've set up. I tested this by styling body {} and it also worked on those pages, so we know it does work.

You could use one of the tools from our Basic Styling Tutorial under CSS Editing Tips > Use the right tools. This helps you select a specific style you want to edit and lets you know what we're using to style the particular part of the page.

I hope this helps! Let us know if you have any trouble.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

83 views 3 4
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