- 13 May 2021
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
Custom CSS and JavaScript
- Bijgewerkt op 13 May 2021
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
Document360 gives you the ability to extend your knowledge base with CSS (Custom Style Sheets) and JavaScript.
To open either the CSS or JavaScript editor, click Custom CSS/JavaScript in Settings.
Custom CSS/Javascript is a premium feature available in Business, Enterprise, and Enterprise+ plans.
Custom CSS
Custom CSS can be used in tandem with the Custom HTML Section in the Home Page Builder and the Custom Footer in the Site Design and Navigations section in Settings. Define colors, fonts, layout, and variations to customize the theme and look of your knowledge base and articles.
CSS snippets
There are several pre-defined editable CSS snippets you can inject into the editor, which include:
- Body font
- Heading styles
- Home page hero section
- Callout blocks
- Image alignment
- Table styles
To add a snippet to the CSS editor:
- In the Custom CSS tab in Custom CSS/JavaScript, click Snippets.
- Select a snippet.
Custom JavaScript
Insert custom JS into your site to extend its functionality. Document360 will inject your script in the header section as an external file and execute it without changing the theme.