• Resolved Manny

    (@thewebnerd)


    With some other toc you can make the background color of the toc section whatever color you want.

    Since I don’t see the option to do that, how would you do that with this?

    Any recommended CSS or would you be adding the option in the next update?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marc Toensing

    (@marcdk)

    SimpleTOC is simple. And will always be simple. You can add custom CSS yourself to your theme:

    .simpletoc {
        padding: 1em 2em;
        background: #bada55;
    }

    If you want to add a color including the headline, add a custom css class to the SimpleTOC block. Name it “toctoc” or something like that.

    .toctoc {
        padding: 1em 1em;
        background: #bada55;
    }

    If you use that CSS it will add a background to the whole TOC.

    Thread Starter Manny

    (@thewebnerd)

    Thank you Marc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the back color of the toc section’ is closed to new replies.