Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Apply custom CSS when updating Confluence Page Body using API

Vinay Singh January 19, 2022

Hi ,

I am creating custom HTML body data and uploading to confluence page using the REST API and Python .

How can I apply custom CSS to the content of the body .

I have data in few HTML tables and I would like to have some customization on the display .

 

Thank you

2 answers

2 accepted

1 vote
Answer accepted
Fabian Lim
Community Champion
January 19, 2022
Vinay Singh January 19, 2022

Thank you Fabian . This is working .

is there anyway that I can add custom CSS file also ?

Fabian Lim
Community Champion
January 19, 2022

Search the posts, you may be able to find something.

The other option is to manually set the CSS in the page, but this only works for server: https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html 

Vinay Singh January 19, 2022

Thank you Fabian .

Very helpful and quick response .

0 votes
Answer accepted
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 20, 2022

In general - Cloud ≠ Custom CSS. One of the MANY shortcomings of the Cloud version.

Vinay Singh January 20, 2022

Thank you Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events