I wonder if somebody me please. I’m using wkhtmltopdf to create a pdf of a page with lots of tables in it. The pdf is being created and all of the styles are working expect for display: head-table-group. I’ve even added !important to it but that’s still not working. It adds a blank th but has no text at all. I’ve tried using a default font and changing the size but that doesn’t make a difference.
No that’s last bit of css and I’ve checked the inspect element and it’s definitely being rendered - it’s just when it comes to the pdf it’s not showing the font (it added the thead to each page but not the actual headers)
That doesn’t look like a css issue as such but something to do with the implementation of the pdf (although a solution may be in css). I have no prior knowledge of the product though.
I think you may need to raise an issue on that site as I doubt anyone here has used that product.
A thead element is already display:table-header-group by default so there should be no need to set it anyway,
Otherwise its probably down to either changing the html structure or just trying out various things to see if they have effect. Try targeting the th element inside the thead for your color and font sizes etc.