WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] Strange problems with CSS (2 posts)

  1. marcpaget
    Member
    Posted 1 year ago #

    Hi.

    I'm almost done with my newest site, http://billigt-mobilabonnement.dk
    but I've run into a strange problem.

    The first 4 tables on my frontpage with pretty much similar content, and I applied the same CSS on the 4 tables, but for some reason they don't look the some.

    I only applied CSS to 2 things, 'thead' and 'td' :

    .wp-table-reloaded-id-9 thead, .wp-table-reloaded-id-10 thead, .wp-table-reloaded-id-11 thead, .wp-table-reloaded-id-12 thead
    {
    background-color:#000000;
    font-size:13px;
    }

    .wp-table-reloaded-id-9 td, .wp-table-reloaded-id-10 td, .wp-table-reloaded-id-11 td, .wp-table-reloaded-id-12 td
    {
    font-size: 15px;
    }

    Can anyone please tell me what's wrong ??

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question.

    Well, to me, all four tables look the same...
    However, the first block of CSS is not applied, as it is not specific enough. Just using thead is not enough, you'll need to use thead th. Please try again with

    .wp-table-reloaded-id-9 thead th,
    .wp-table-reloaded-id-10 thead th,
    .wp-table-reloaded-id-11 thead th,
    .wp-table-reloaded-id-12 thead th {
      background-color:#000000;
      font-size:13px;
    }

    But actually, after trying this, you should also migrate from WP-Table Reloaded to its official successor TablePress, as WP-Table Reloaded is being discontinued. Please see http://tobias.baethge.com/2013/01/tablepress-replaces-wp-table-reloaded/ for more information.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic