[Bug]: Footer not visible on pdf #72
Replies: 3 comments 2 replies
-
either header and footer visible with very low font size, when including a image it is not at all showing. When you use alt attribute in the image it is showing as image not loaded please rectify the issues |
Beta Was this translation helpful? Give feedback.
-
After doing some more testing I found out the reason the footer is not showing is because I gave my html a background-color. When I remove this, I can see the footer but it is hidden behind the background if I set it on the html or the body. Image is still not working even when giving an alt attribute. I also can't set a background color on the footer because it doesn't do anything.
|
Beta Was this translation helpful? Give feedback.
-
@coreyfreeman82 @RVP04 For images there is a PR open to solve this I think #79 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I'm trying to add a footer to all my pages but the first one. I've tried using $pdf->footerView() and $pdf->footerHtml but both seem to not show anything while I am able to find it on the page using CTRL + F. I need the footer to be on the bottom of the page it's on, but when I use position absolute all the page footers will be on the first page instead of their own. This is my blade that I load with pdf()->view('my-pdf.blade.php')->footerView('footer.blade.php')->name('name.pdf');
How to reproduce the bug
my-pdf.blade.php
footer.blade.php
Package Version
1.1.2
PHP Version
8.2
Laravel Version
10
Which operating systems does with happen with?
macOS
Notes
No response
Beta Was this translation helpful? Give feedback.
All reactions