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

UP | HOME covered by table of contents in ReadTheOrg theme #150

Open
tfree87 opened this issue Jul 7, 2022 · 1 comment
Open

UP | HOME covered by table of contents in ReadTheOrg theme #150

tfree87 opened this issue Jul 7, 2022 · 1 comment

Comments

@tfree87
Copy link
Contributor

tfree87 commented Jul 7, 2022

When I use the ReadTheOrg theme, I noticed that the UP | HOME links generated by Org Mode are covered up by the table of contents on the left side. This makes page navigation difficult if there are multiple pages in a site. The quick fix that I found is to add the following to the top of any .org file:

html_head: <style>#org-div-home-and-up { text-align: right; padding-right: 10pt; }</style>

This will push the links to the right side of the div, so they will be visible. The screenshots below show the difference.

Before:

before

After:

after

I can try to create a pull request to implement this change if desired once I wrap my head around the code/

@fniessen
Copy link
Owner

Hi @tfree87 .
Thanks for this.
If you want to make a PR, it's welcome.
Otherwise, I'll add it soon.

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

2 participants