brentthorne / posterdown

Use RMarkdown to generate PDF Conference Posters via HTML
https://brentthorne.github.io/posterdown_html_showcase/
Other
842 stars 131 forks source link

betterland main_findings margin #138

Open malalwan1 opened 2 years ago

malalwan1 commented 2 years ago

Hi Brent,

I'm trying to adjust the margins of the poster but there is nothing in the guide about it. For the main findings section, I'm trying to make it start a little bit higher (i.e., decrease the margin). Is there a way to do that? Also, is there a way to increase the margin of the body sections.

Thanks for your help!

abrowman commented 1 year ago

Hi Brent,

Thanks for creating/maintaining this wonderful package!

I wanted to second @malalwan1's question/request: is there a way to change the top margin size of the main findings section?

Thank you!

StefanVermeent commented 1 year ago

Hi @malalwan1 and @abrowman,

I ran into the same issue and ended up making the change myself in a forked version of the repository (https://github.com/stefanvermeent/posterdown). After forking the repository, you can navigate to inst/rmarkdown/templates/posterdown_betterland/resources/template.html There, on line 265-269, you will find the following code:

.main p { padding-top: 20%; font-size: $if(main_textsize)$$main_textsize$$else$170px$endif$; text-align: left; }

changing 'padding-top' to 0% removes the padding at the top of the main section.

Best wishes, Stefan Vermeent