I am afraid that that is not customizable because it is the default behaviour of anchors in HTML.
Best regards,
Eduardo
Dear Irzaraz,
This is a little CSS hack that should work.
Please include in the default.css file that you could find in the folder wp-contents/plugins/docxpresso/classes/ODF2HTML5 the following style:
/*hack to get some extra top margin for anchors if needed*/
.h5p_layout span[id^=”_Toc”]{
padding-top: 100px;
margin-top: -100px;
}
You may, obviously replace 100 by the number that shows more convenient for your purposes.
Let me know if it works π
Eduardo
.h5p_layout span[id^=β_Tocβ]{
padding-top: 100px;
margin-top: -100px;
}
paste as it in that file?
thank you very much for your help.please explain that part ” span[id^=β_Tocβ] ” becuase its not working yet.
I noticed that if you copy and paste from my answer the quotes are changed….please, make sure that you write standard quotes
span[id^="_Toc"]
and not span[id^=β_Tocβ]
That style gives extra top padding to the anchored text.
-
This reply was modified 9 years, 6 months ago by
docxpresso.
Wow…thats great..its working now.
is there any way back to table of content ?if possible
You can include back links in the anchors but I would not recommend that: the “go back” button of the browser will do that jsut by itself and it is a standard behaviour.
A review of the plugin will be nice from your side π
Eduardo