Access Keys:
Skip to content (Access Key - 0)

Adaptavist Documentation Move

This documentation is deprecated. Adaptavist's documentation has moved to a new location where it is maintained and updated. Please visit Adaptavist's new Documentation area.

style macro

The {style} macro allows you to add custom style sheets to a page or import from an external URL...

This macro is designed to allow a single page to have custom styles applied to it. The style sheet can optionally be restricted to specific media types and you can optionally import an external style sheet from a URL.

If you want to define styles for an entire Space when using the Builder theme, please use CSS Custom Styles in the theme configuration.


Add the macro to your page as follows:

style sheet
Parameter Required Default Notes
media All The media to apply this style sheet to, by default all media types are used.
import   Optionally specify a URL to import an external style sheet.


Hints and Tips:

Set up a "style" page with your style sheets, then use the include macro to embed it on other pages. This way you can change your styles in one central location and have everything that imports the page get updated.

Frequently Asked Questions:

Q Where can I learn more about style sheets?
A The

website is a good place to start.

See Also:

View old comments

Adaptavist Theme Builder Powered by Atlassian Confluence