Closed Xuefeng-Zhu closed 10 years ago
How did you try to change the font-size?
Anyways you can play with the margin in bin/json_resume
:
pdf_options = {
:margin_top => 2.0,
:margin_left=> 0.0,
:margin_right => 0.0,
:margin_bottom => 4.0,
:page_size => 'Letter'
}
I change following code in screen.css
html>body { font-size:16px; }
into
html>body { font-size:13px; }
I have tried to change the pdf_options, but it cannot remove the grey margin.
Try editing json_resume/extras/resume_html/core-page.html
:
<div id="site" style="margin: 0.0em auto 0.0em auto; max-width: 52em;">
to
<div id="site" style="margin: 0.0em auto 0.0em auto; max-width: 64em;">
Which is basically 16/13*52
and try to reconvert
It works. Thank you very much
I try to make the font-size smaller, but it will leave margin on both side of page.