I need to use Paged.js in combination with a custom CSS for tables.
Paged.js constantly overwrites my style. I even added !important to all properties but Paged.js still overwrites them.
Can I prevent Pagedjs from doing that? I am working with a local copy of the JS so I am easily able to change it.
I just have solved my issue.
The guy who wrote the app imported a
bootstrap.cssand abootstrap.min.css. Thebootstrap.cssis v3.3.5 and thebootstrap.min.cssis v3.3.6. Don't ask my why. This project is a mess anyway.The issues was a tiny
@media printstyle in the 3.3.6 bootstrap which leaded to reset all background styles. Because pagesjs loads the@media printright into the HTML and the issue only showed up as I activated pagejs I thought that this must be the source.Solution: Always check other dependencies