Skip to main content

Can I add custom CSS to my courses?

Add your own CSS or JavaScript to every course in your workspace, or to a single course. Courses were previously called mini-courses.

Written by Eren Gunduz

Yes. You can add custom CSS in two places:

Where

Applies to

How

Workspace › Branding › Custom code

Every course, landing page and portal page in your workspace

Paste your CSS in the CSS field, without a <style> tag. JavaScript goes in the JavaScript field, without a <script> tag.

Course › Settings › General › Add header and body scripts

One course

Turn it on and paste your code with its tag, for example <style>…</style>, in Header scripts.

Code on a single course loads after the workspace code, so it can override it.

⚠️ Scripts run in your learners' browsers. Only add code you trust.

ℹ️ Custom code is available on the Plus plan and above.

💡 Before writing CSS, check the built-in options in the Theme tab and Workspace › Branding. See Customizing the design of your course.

FAQ

Does my workspace CSS also apply to learning paths and my portal?

Yes. The code in Workspace › Branding › Custom code also loads on your learning path pages and your portal pages.

Which selectors should I use?

Avoid selectors with random-looking names, such as .css-1iux58e or names that end in a code like __W3DHz. They can change when we update the app, and then your CSS stops working.

If a built-in setting does what you need, use it instead of CSS.


❓ Please reach out via the Blue Chat bubble in the bottom right corner of your screen if you have any questions about custom CSS.

Did this answer your question?