• Resolved scmsteve

    (@scmsteve)


    This may seem like an odd request, but we just want to have tables as basic as possible. If we build one in tablepress and drop the shortcode on the page (woocommerce product if it matters) there is some strange formatting like missing borders and such. Yet if we export the table and paste in the raw html with just the base tags (table, tr, td, etc) it displays fine. So it seems like it is tablepress class styling that is changing the format even though we have every option deselected in the table design view.

    I see we can add a custom class, or could use .tablepress (or with specific id for our table), but there is no way (if there is, show me, I love to learn) to say “remove the other css for this class” to undo what .tablepress is doing. We would have to add in and override every style rule?

    Is there a way to set a table to have no “standard” tablepress formatting?

    The product is not public so I cannot share it because it would not be displayable to you anyway.

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You can turn off the loading of TablePress CSS by adding this line to your theme’s “functions.php” file

    add_filter( 'tablepress_use_default_css', '__return_false' );
    

    (Note that this includes the CSS for JavaScript features like sorting, etc., in case you are using those.)

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Remove all styling?’ is closed to new replies.