Note:
While CSS can also be added to other locations within a digital workplace (Space Header, or the Advanced page), it can make managing the appearance of your digital workplace difficult. By keeping all CSS within the theme area of the Appearance page you will have a central location for managing the look and feel of your digital workplace.
Workplace Administrators and users with the Manage Theme role can modify a digital workplace's CSS from the Appearance page. CSS located here will be loaded on every page in a digital workplace. Custom CSS is often used to reflect an organization's brand, hide unwanted elements, or modify the appearance of widgets.
Applying custom CSS depends on whether the digital workplace is using a theme from the Theme Library, or an entirely custom theme. A workplace that is using a theme from the Theme Library will have a Theme section that looks like this:
While a digital workplace that is using a custom workplace theme will have a Theme section that looks like this:
Sections in this article:
- How to add CSS to a workplace that is using the Theme Library
- How to add CSS to your custom workplace theme
- Additional Resources
How to add CSS to a workplace that is using the Theme Library
- Select Control Panel.
- Under Presentation, select Appearance.
- Select Add custom CSS.
- Enter your custom CSS in the provided text box.
- (Optional) After adding your CSS, select Preview to open a version of your digital workplace that has this new CSS applied. You may need to navigate to the item you are styling to view what it will look like.
- Select Apply when you want to save and apply this custom CSS to your workplace.
How to add CSS to your custom workplace theme
- Select Control Panel.
- Under Presentation, select Appearance.
- Select Edit Custom Theme.
- Enter your custom CSS in the provided text box.
- (Optional) Select Save & Preview to open a version of your digital workplace that has this new CSS applied. You may need to navigate to the item you are styling to view what it will look like.
- Select Publish when you want to save and apply this custom CSS to your digital workplace.
If you save but do not publish your changes, other users could inadvertently publish them. Treat all added CSS as if it were being applied immediately.