Syntax
admSetSpaceStylesheet(spaceKey, style)
Description
Adds a space stylesheet to customize the look and feel of a single space within Confluence.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
| String | true | The key of the Confluence space to which the syle should be applied |
style | String | true | A String representing the css styles for the space |
Return type
boolean (true/false)
Returns true if the stylesheet was successfully applied
Example
return admSetSpaceStylesheet("MS", "#paragraph1 {margin: 0;}");
Sets style "#paragraph1 {margin: 0;}" to space with key "MS"
See also
Adds a space stylesheet to customize the look and feel of a single space within Confluence.