• Resolved rootsekoor

    (@rootsekoor)


    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

    (@docxpersso)

    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

    (@rootsekoor)

    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.