Using page-breaks in Open Textbook Theme for PDF export


I am trying to format a textbook to break the page after certain elements for the PDF export but whenever I tried using the CSS command:

’ div style=“page-break-after: always;” ’

The ‘div’ element disappears. If I tried to pair the page-break with another property, the page-break property always disappears after updating.

I tried using ’ p class=“page-break-before” ’ as recommended in a PB guide but that does not seem to work.

Has anyone experiencing this issues found a solution or workaround?