Replies: 9 comments
-
I'm not sure if you want to add a red line above the footer content, if so, try it: <div>
+ <div style="position: relative; top: -1em; left: 3em; border-bottom: 1px solid red; width:100vw"></div>
<div>
xxx
</div>
</div> |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response. When I use this (or instead of xxx) as a footer:
I get this as pdf: The following informations of the footer aren't visible anymore. |
Beta Was this translation helpful? Give feedback.
-
Background information I have a template in Microsoft Word with this footer and I'd like to have the same (or similar) footer style in the pdf file. |
Beta Was this translation helpful? Give feedback.
-
In my experience, the header and footer fields don't have the same "margin" on left and right sides that the body of the pdf gets from your configuration. I've added some padding to left and right to get the header and footer aligned with the body text on my Obsidian. I didn't add those to the CSS here since you need to adjust it with your body text margins in mind. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your respond. Based on your suggestion, I finally got this: This is the code for such a footer:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
And this is mine, based on emisjerry (thank you very much):
It looks as so: |
Beta Was this translation helpful? Give feedback.
-
New release of Obsidian (1.5.8) -> new CSS The only thing I had to change was 100vm -> 95 vw.
It works well: |
Beta Was this translation helpful? Give feedback.
-
The one above doesn't work anymore. Here is a new solution:
|
Beta Was this translation helpful? Give feedback.
-
Thanks to your great plugin.
When I use this code as a footer, I get to following (see screenshot):
When I delte the first three lines
I get this, which is correct:
How can I add a red line over this footer?
Beta Was this translation helpful? Give feedback.
All reactions