Hello!
Sorry to say I'm not a professional in css, that is why I need your help with exporting:
I have headers and footers (they are working ok), but the body of my documents should be alined and sized 20pt (and they are not working).
My code:
@page
{
@top-center
{
content: "TEXT";
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-style: oblique;
}
@bottom-right
{
content: counter(page);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
padding-bottom: 3em;
font-style: oblique;
}
{
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 20pt;
text-align: justify;
}
}
How can i solve the problem?
Hi Catherine,
After looking at a few other examples on the Atlassian Community, it looks like you're just missing the relation for "Body" in your CSS code. Try updating the last part to something like this:
...
font-style: oblique;
}
body,p,li,td,table,tr,.bodytext,.stepfield
{
font-size: 20pt;
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
text-align: justify;
}
Cheers,
Shawn
You don't need more tools. You need tools that actually work together – the way humans do. See how Loom + Confluence help teams collaborate with more context, more connection, and fewer calendar invites. 💪
See inside
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.