page-footer not working
See original GitHub issueHi guys !
First of all, thank you for your amazing work !
I try to implement the page-footer in my pug document as your example :
template#page-footer
style(type='text/css').
.pdfheader {
font-size: 10px;
font-family: Helvetica;
font-weight: bold;
width: 1000px;
border-top: 1px solid black;
margin-left: 10%;
margin-right: 10%;
padding-top: 1mm;
margin-bottom: -1mm;
text-align: center;
}
.pdfheader Page #[span.pageNumber] / #[span.totalPages]
But nothing appears on my pdf and I don’t have any errors in my console. I’m on Antergos Linux.
Do you have any idea ?
Cheers,
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
css footer not displaying at the bottom of the page
In order to fix this, you need to make sure that the footer gets 'pushed' down the full height of the page (minus...
Read more >Why isn't my footer at the bottom? - CSS-Tricks
If you can be sure that the content of a webpage will extend further than the height of the user's browser window, then...
Read more >Header/Footer not showing in Pages - Apple Community
Header/Footer not showing in Pages. I need to add a page number to the top right of my document. In Document settings, both...
Read more >The Footer isn't duplicating on every page for several documents
If you open the document and press Ctrl-A, then Alt-P-S-P to open the Page Layout dialogue and choose the Layout tab and either...
Read more >How to keep your footer where it belongs ? - freeCodeCamp
When working with dynamic content that includes a footer, a problem sometimes occurs where the content on a page is not enough to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I delete old version with
npm r -g relaxedjs
Install new versionnpm i -g relaxedjs@0.2.0
Then I have tried this example and it works.
page-footer
shows in pdf.But I always need to write styles under the template
Without styles I can’t see template. And write styles in scss doesn’ help.
Video example
I install relaxed 0.1.6 with
npm i -g relaxedjs@0.1.6
Check versionrelaxed --version
> 0.1.6
Buttemplate#page-header
andtemplate#page-footer
still doens’t work_temp.htm
includes templates but pdf doesn’t