Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color not working for header and footer template #97

Open
kevingetcharta opened this issue Jan 24, 2023 · 3 comments
Open

Background color not working for header and footer template #97

kevingetcharta opened this issue Jan 24, 2023 · 3 comments

Comments

@kevingetcharta
Copy link

I'm trying to set background color to footer and header and nothing has worked, I've tried this puppeteer/puppeteer#2182 but didn't work

@ltbongo
Copy link

ltbongo commented Sep 26, 2023

Hey... have you managed to find a solution to this issue ?

@kevingetcharta
Copy link
Author

Hey, unfortunately no, eventually I started using docx because it was more suitable for my use case

@navneetco0
Copy link

You should use -webkit-print-color-adjust: exact in body. that will helpful for you.
example:
body{
font-family: Helvetica;
margin: 0;
-webkit-print-color-adjust: exact;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants