Hi, I need change font-size in TOC
Global styling not working
* {
font-size:8px !important;
}
what os? what version? is it a patched qt version?
@marcrib a global styling does only work if you specify it in your custom xsl. to start, you can wkhtmltopdf --dump-default-toc-xsl > default.xsl
then set your styling in the xsl and after that, call wkhtmltopdf with your xsl specified: wkhtmltopdf toc --xsl-style-sheet default.xsl
Thanks @halkosajtarevic
Most helpful comment
@marcrib a global styling does only work if you specify it in your custom xsl. to start, you can
wkhtmltopdf --dump-default-toc-xsl > default.xsl
then set your styling in the xsl and after that, call wkhtmltopdf with your xsl specified:wkhtmltopdf toc --xsl-style-sheet default.xsl