Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Syntax

admSetSpaceStylesheet(spaceKey, style)

Description

Excerpt
Adds a space stylesheet to customize the look and feel of a single space within Confluence.

Parameters

Parameter name

Type

Required

Description

spaceKey

StringtrueThe key of the Confluence space to which the syle should be applied
styleStringtrueA String representing the css styles for the space

Return type

boolean (true/false)

Returns true if the stylesheet was successfully applied

Example

Code Block
return admSetSpaceStylesheet("MS", "#paragraph1 {margin: 0;}");

Sets style "#paragraph1 {margin: 0;}" to space with key "MS"

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "ps_conf"
labelsjira_comment_routine


Adds a space stylesheet to customize the look and feel of a single space within Confluence.