Alex Rivera | Logout

CSS for specific text on Confluence

Asked 2011-06-14T15:19:28.427
9

I am wondering if there is a way to use custom css for some specific text on my confluence page (not using embedded HTML).

Edit
Report

2 Answers

3

You can do this ...

{composition-setup}import.css=/download/attachments/123456789/custom.css
{composition-setup}

That's if you've stored a custom.css file as an attachement. You'd obviously need to replace 123456789 with the actual attachment number.

You can also link CSS on an external site (with an absolute URL), but if you have any automatic URL formatting, that tends to mess it up everytime you change the document.

answered 2011-06-14T15:41:38.197
1

I use a User Macro that renders the $body in HTML. Then I can put whatever HTML tags I want in the wiki page within the user macro tag.

answered 2012-10-09T17:16:54.660

Your Answer