---
title: "admSetSpaceStylesheet"
canonical: "https://support.appfire.com/space/PSCONF/15303839/admSetSpaceStylesheet"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admSetSpaceStylesheet(spaceKey, style) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Adds a space stylesheet to customize the look and feel of a single space within Confluence.

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

## Return Type

**Boolean (true/false)**

Returns true if the stylesheet was successfully applied

## Example

```javascript
return admSetSpaceStylesheet("MS", "#paragraph1 {margin: 0;}");
```

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

## See also

> Macro (contentbylabel)