Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.