Modify export layout

Hi,
I can’t seem to locate a function to edit how my exported files will look. Hoping to make them dark background, without having to edit every single file. Maybe not supported yet?

Hr.

userstyle.css:

@media print {
    /* css for printing */
}
1 Like

Okay, so I found userstyle.css, and I’m pretty sure in CSS editing, as it’s just changing some hex codes and blam, looks different. However, this seems to be a whole different monster.

I added the following to the empty document:

@media print {
body {background-color: #140033;}
h1 {
 color: #EEE;
  text-shadow: 1px 1px red;
}

I was doubtful of the text color working, because the code indicates a specific headline, but I feel the background color should have been added. What’s my mistake?

Not sure, my css knowledge is minimal. I created a custom theme a while back, but I used trial and error and got help from a lot of people.

There are a lot of people in this forum who know CSS way better than I do. e.g. @uxamanda

Check out the topic:

You were on the right track. For print styles, the CSS default is to ignore backgrounds, which is nice for saving ink. If you want to force them to appear, you can include:

body{
  -webkit-print-color-adjust: exact !important;
}
3 Likes