• Resolved pablo rey

    (@pablo-rey)


    Hi, nice plugin, pagesspeedinsights and me are very happy with the plugin
    I want to add a bottom margin to the table, I am thinking in adding it to the css of my child theme (I am using Neve free)
    I am very noob so i can not figure what class to target, they seem to change… i can target both but i am not shure

    i am bit surprised that nobody asked this before

    thanks in advance, and please forgive my poor English

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter pablo rey

    (@pablo-rey)

    .simpletoc-collapsible {margin-bottom:3em}
    did the trick

    was a stupid question, sorry

    Thread Starter pablo rey

    (@pablo-rey)

    well simple solution mine, finally ended with this sub optimal approach

    .simpletoc-collapsible{margin-bottom:3em}
    .simpletoc-content{margin-bottom:3em}

    but they add a sepparation between the title and the content…

    is there a better solution?

    thanks

    Plugin Author Marc Toensing

    (@marcdk)

    Do you use the accordion?

    Thread Starter pablo rey

    (@pablo-rey)

    i made all my TOCs collapsable, if that is what you are asking…

    thanks for the super fast response!!!

    Plugin Author Marc Toensing

    (@marcdk)

    I will look into this any maybe change the tag from DIV to P to have an automatic margin.

    But for now please use this for your theme:

    .simpletoc {
        margin-bottom: 2em ! important;
    }
    Thread Starter pablo rey

    (@pablo-rey)

    Didn’t work. It may be, as you said, to insert everything into a div, to make it easily targetable. Even for illiterates like myself.

    Thread Starter pablo rey

    (@pablo-rey)

    Sorry, cache issue I guess… working like a charm now

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to add bottom margin to the TOC’ is closed to new replies.