Title: Modify default.css
Last modified: October 14, 2017

---

# Modify default.css

 *  Resolved [rootsekoor](https://wordpress.org/support/users/rootsekoor/)
 * (@rootsekoor)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/modify-default-css/)
 * Hei
 * I’m using Docxpresso and for some reasons, i need to modify the CSS for the html-
   rendered page.
    The reason is that I’m using a sticky Menu… and then, a click
   on a anchor will scroll the page to the right position… but the title (the anchor
   target) is hidden back my sticky menu.
 * I found that if i modified some lines in docxpresso\classes\ODF2HTML5\default.
   css, the result is the one expected.
 * .h5p_layout span[id^=”_Toc”]{
    padding-top: 10px; margin-top: -10px; } IS MODIFIED
   TO .h5p_layout span[id^=”_Toc”]{ padding-top: 40px; margin-top: -10px; }
 * But I’m not sure this is the best pratice for this. ( the first reason I see 
   is in case of plugin update)
    Do you have any advice?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [docxpresso](https://wordpress.org/support/users/docxpersso/)
 * (@docxpersso)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/modify-default-css/#post-9604300)
 * Dear Rotsekoor,
 * Sorry for the delay answering your question. I can not imagine any other way 
   by the time being…just keep a backup of the CSS file and do not forget to modify
   the corresponding file whenever you update 🙂
 * Eduardo
 *  Thread Starter [rootsekoor](https://wordpress.org/support/users/rootsekoor/)
 * (@rootsekoor)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/modify-default-css/#post-9605790)
 * Hei Eduardo
 * Thanks for the answer and no problem for the delay 🙂
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modify default.css’ is closed to new replies.

 * ![](https://ps.w.org/docxpresso/assets/icon-256x256.png?rev=1183318)
 * [Docxpresso](https://wordpress.org/plugins/docxpresso/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/docxpresso/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/docxpresso/)
 * [Active Topics](https://wordpress.org/support/plugin/docxpresso/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/docxpresso/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/docxpresso/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rootsekoor](https://wordpress.org/support/users/rootsekoor/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/modify-default-css/#post-9605790)
 * Status: resolved