fniessen / org-html-themes

Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UP | HOME covered by table of contents in ReadTheOrg theme

tfree87 opened this issue · comments

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/

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