Changing heading colors when printing to PDF

I managed to change the heading colors in the app itself, using the .cm-header-2 class in a CSS snippet. However this change doesn’t persist when printing; I tried wrapping it all up in @media print {} but that has no effect.

Any advise on getting the CSS to apply to the PDF as well? I am using the minimal theme BTW.

Looks like I fixed it… key was to target the HTML Header tags rather than classes, that’s what gets printed.

1 Like

Hi, I now am facing the same problem - cannnot export the colorful headings in minimal theme. Can you please share your solution with me? thanks