• Hi Tobias,
    Once again i need a little help, i want different font color for each of my table but not able to do it till now.
    One more thing, is it possible to declare separate CSS styling for more than one table in a single declaration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you can use the individual table selectors to achieve a different styling on different tables, e.g.

    .wp-table-reloaded-id-1 td {
      color: #ff0000;
    }
    .wp-table-reloaded-id-2 td {
      color: #00ff00;
    }

    will give differnt font colors to tables 1 and 2.

    You can also add more tables to one declaration, by adding it to the selector list, separated with a comma. E.g.

    .wp-table-reloaded-id-2 td,
    .wp-table-reloaded-id-3 td {
      color: #00ff00;
      font-face: bold;
    }

    will apply a bold and green font to two tables with just one declaration.

    Best wishes,
    Tobias

    Thread Starter techgodown

    (@techgodown)

    Thanks,
    the deceleration issue is solved but the color change for each table font is not working.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    there might be a conclict with some other CSS.
    It might be enough to raise the priority of the CSS, by changing the code to

    color: #00ff00!important;

    with the !important keyword.

    And can you provide the URL to the page with your table?

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Different Font Color for each table’ is closed to new replies.