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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admGetSpaceLayout(spaceKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns the custom stylesheet that has been stored against a space.

Returns the custom stylesheet that has been stored against a space. If no stylesheet is stored against the space, the global stylesheet will be applied if one exists. However, if a space theme is set, the global styles will be ignored.

## Return Type

**String**

A string containing the css styles for the space

## Example

```javascript
return admGetSpaceStylesheet("MS");
```

Returns stylesheet of layout with key="MS"

## See also

> Macro (contentbylabel)