Skip to main content
Question

CSS Not Applying to "HTML Page" Training Material in Docebo


Hi everyone,

I'm trying to apply CSS to an "HTML Page" training material item in a course, but it's not working as expected.

  • When I test my HTML and CSS in CodePen, everything works fine.

  • In Docebo, I add a new "HTML Page" training material and paste my HTML code.

  • Then, I go to Custom Styles and paste my CSS code.

  • After saving and refreshing the course page, the CSS is not applied.

I've used this method before, and it usually works without issues. Could this be related to how Docebo handles CSS for course players versus page widgets? Do I need to specify anything in the code to ensure it applies correctly?

Any insights or troubleshooting suggestions would be greatly appreciated!

Thanks in advance!

3 replies

gstager
Hero III
Forum|alt.badge.img+7
  • Hero III
  • 894 replies
  • March 31, 2025

There is a separate place for training material CSS under course player.

Did you try to place your code there?

 

 


lrnlab
Hero III
Forum|alt.badge.img+8
  • Hero III
  • 4854 replies
  • March 31, 2025

Also note that not all HTML works across the LMS. The HTML/WYSIWYG widget for example, is quite limited as well. Basic HTML works well but things like buttons are harder to code and get working.


  • Author
  • Novice I
  • 2 replies
  • April 2, 2025

thanks ​@gstager, I wasn’t aware of that option specifically for HTML pages in a course. I was able to apply the code now. 

many thanks! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings