• Resolved jdonlon

    (@jdonlon)


    Hi,

    I’m trying to use custom widths for the columns in a simple table on this page: https://fujikabasta.com/races-2/

    Here is the Custom CSS code I’ve added in Plugin Options:

    .wp-table-reloaded-id-2, .wp-table-reloaded-id-2 td, .wp-table-reloaded-id-2 th {
    border: none!important;
    border-collapse: collapse!important;
    border-spacing: 0px!important;
    }

    .wp-table-reloaded-id-2 td {
    font-family: Arial;
    font-size: 18px;
    color: #645B46;
    }

    .wp-table-reloaded-id-2 th {
    font-size: 24px!important;
    color: #645B46!important;
    }

    .wp-table-reloaded-id-2 .row-hover tr:hover td {
    background-color: #FF9F13!important;
    }

    .wp-table-reloaded-id-2 .column-4 {
    width: 300px;
    }

    I actually don’t want column 4 to be 300px necessarily– I need to play with each column to see what will work best– but I entered this as an attempt to change the column width and nothing changed.

    Using the Twenty Ten theme.

    Thoughts?!

    https://www.ads-software.com/extend/plugins/wp-table-reloaded/

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

    (@tobiasbg)

    Hi,

    thanks for your post.

    You are correct, the width does not seem to change. The reason for this is simple: You are trying to increase the width of one column, which obviously would decrease the width of the other columns. However, this is not possible in this particular case, the the other columns are already at their minimum. The reason for this is the rather large padding (white space) that Twenty Ten adds to the cells.
    So, the probably easier way (instead of messing with columns widths), might be this:

    .wp-table-reloaded th,
    .wp-table-reloaded td {
      padding: 4px !important;
    }

    Regards,
    Tobias

    Thread Starter jdonlon

    (@jdonlon)

    Seems to be working…thanks very much!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very nice! Glad to hear that. Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Can't resize column widths’ is closed to new replies.