WordPress.org

Forums

The Bootstrap
Stop theme from adding classes to tables (3 posts)

  1. Draekus
    Member
    Posted 2 years ago #

    Hi,

    I recently realised that The Bootstrap somehow adds classes to tables in content like: .table .table-stripped nad .table-hover which appear in basicly every table rendered in site.

    Is there a way to turn this of as it messes up a lot of plugins content (like buddypress)? I looked throo all of the themes code and could't find it :/

    http://wordpress.org/themes/the-bootstrap/

    (test post: http://sinclubpress.vdl.pl/uncategorized/test-post-with-a-table/)

  2. DonT48
    Member
    Posted 2 years ago #

    Yes, I have been having exactly the same problem - the only way I could override these styles was by using an inline style - very clumsy and unmaintainable. If you found a solution please let me know.

  3. Draekus
    Member
    Posted 2 years ago #

    found it :)

    go to /themes/the-bootstrap/js/the-bootstrap.js.min

    remove:
    $('table' ).addClass('table table-striped table-hover' );

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic