WordPress.org

Support

Support » Plugins and Hacks » [Plugin: BlogText] implement table of contents theming

[Plugin: BlogText] implement table of contents theming

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sebastian Krysmanski
    Member

    @manski

    What do you mean? Styling for tables? That’s the responsibility of the WordPress theme you’re using (and the theme usually provides styles for tables).

    spiralofhope
    Member

    @spiralofhope

    My theme, “Parament”, does indeed colour tables.

    Settings > BlogText, I removed all content in “Custom CSS” and then clicked “Save Changes” then “Clear Page Cache”.

    I created a new post with the following content:

    — BEGIN

    <table><tr><td>test</td></tr></table>

    [[[TOC]]]

    = test

    — END

    Previewing this, the BlogText table of contents looks themed for a light website.

    I could file a ticket upstream to have the theme updated, but when I look at the resulting CSS, it looks like BlogText is forcing its own colour scheme.

    Here is some CSS I extracted:

    .toc{max-width:200px;border:1px solid #AAA;background-color:#F9F9F9;padding:5px 25px;margin:5px 10px;font-size:80%}.toc .toc-title{font-size:1.2em;border-bottom:1px solid #ccc;margin-bottom:0.5em}.toc .toc-toggle{font-size:75%;text-decoration:none;display:block;float:right;margin-left:5px}.toc ul{list-style-type:none;list-style-image:none;margin-left:0;margin-bottom:0 !important;padding-left:0;text-align:left}.toc ul ul{margin:0 0 0 1.5em}

    I suppose it’s also possible that my W3 Total Cache plugin is doing something naughty.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BlogText] implement table of contents theming’ is closed to new replies.