WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] How to make 1st, 4th rows to have heading format? (6 posts)

  1. bgmahesh
    Member
    Posted 3 years ago #

    Please see http://bit.ly/fVPAGR

    I wasn't able to fit the entire table in 3 rows, so I duplicated the table from row 4

    I would like row 1 and row 4 to have similar look (table heading). Is it possible?

    regards

    mahesh

  2. bgmahesh
    Member
    Posted 3 years ago #

    Sorry, I forgot to mention the plugin I am using.
    http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/ is being used for the tables

  3. TobiasBg
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    please try to paste the following code into the "Custom CSS" textfield on the "Plugin Options" screen of WP-Table Reloaded to achieve this:

    .wp-table-reloaded-id-4 .row-4 td {
      background-color: #E6EEEE;
      border: 1px solid #FFFFFF;
      padding: 4px;
      color: #3D3D3D!important;
    }

    Regards,
    Tobias

  4. bgmahesh
    Member
    Posted 3 years ago #

    It is almost there, I guess row 4 needs be th and not td?

    thanks for your help

    Mahesh

  5. TobiasBg
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    well, changing the td to th would be nice, but unfortunately, that is not possible, because in a table, there can only be a th for the head or for the footer, but not within a table.

    All that seems to be missing is the bold font, so just add

    font-weight: bold;

    as another CSS command to the code from above and row 4 should look like row 1.

    Best wishes,
    Tobias

  6. bgmahesh
    Member
    Posted 3 years ago #

    Cool, I can live with that.
    Thanks for the very useful product.

    regards

    Mahesh

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic