CSS application on Confluence 4.2.13

Hello,

 

I've ran into a huge amount of issues when it comes to CSS on confluence 4.2.13. I am trying to apply CSS in  a couple of ways that I have researched recently but so far to no avail. I have tried many ways to apply it via space tools, the PDF stylesheet under space admin, and I have even tried a macro that will apply CSS to it. So far nothing has worked. I have tried specificity by using wiki-content or other ways and so far it hasn't worked either. Is there anything I can do? I beyond need CSS for the type of page I am doing.

 

6 answers

1 accepted

@David Tucciarone

you mean that you define sizes and colors for your headings and nothing happens in the PDF?

If so, that is still a problem of specifity. Try the following:

.wiki-content h1, .wiki-content h2, .wiki-content h3 {  
font-size: 60px !important;  
color: red !important;  
}
0 vote
Sean Curtis Atlassian Team Jul 02, 2015

Can you show the markup of the page you're working on and the styes you're trying to apply?

Wiki Markup.jpg

 

The wiki markup in editor.

0 vote
Sean Curtis Atlassian Team Jul 05, 2015

Are you trying to apply CSS to PDFs, or to the pages when viewed in a browser?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

32 views 3 1
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