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

betterland main_findings margin #138

Open
malalwan1 opened this issue Aug 1, 2022 · 2 comments
Open

betterland main_findings margin #138

malalwan1 opened this issue Aug 1, 2022 · 2 comments

Comments

@malalwan1
Copy link

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
Copy link

abrowman commented Feb 1, 2023

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
Copy link

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

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