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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

277 views 2 10
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