export: page breaks before h3 and more?
Hello Brad,
I was wondering how I could automatically export pdfs with page breaks before h3, h4s. In the preferences I can only select h1, h2 and this is usually enough. But this nested doc needs more structure when printed, alas a page break before h3. How would I do that?
Thank you very much,
Reiner
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 21 Feb, 2018 06:33 PM
It's not an option within the preferences, but you can simply add the
following to Preferences->Style->Additional CSS (click "Edit CSS" and
paste):
@media print {
#wrapper h3 { page-break-after: always; }
}
I haven't tested that to be sure there are no conflicts, but it should
work. If it doesn't, try adding !important like this:
@media print {
#wrapper h3 { page-break-after: always!important; }
}
-Brett
2 Posted by Reiner Gärtner on 22 Feb, 2018 09:20 AM
Hello Brett,
Thanks a lot. This works (1st version you mentioned!).
Cheers,
Reiner
--
# Bitte beachten Sie meine E-Mail-Öffnungszeiten um 10 und um 16 Uhr:
http://rgae.de/oeffnungszeiten #
Reiner Gärtner
Editorial Services
ph.: +49-7522-7019321
[email blocked]
www.reinergaertner.de
Am 21. Februar 2018 um 19:33:41, Brett ([email blocked])
schrieb: