WordPress.org

Support

Support » Plugins and Hacks » WP-Table Reloaded » [Resolved] [Plugin: WP-Table Reloaded] Table Name and Description Change Font Color

[Resolved] [Plugin: WP-Table Reloaded] Table Name and Description Change Font Color

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

    @tobiasbg

    Hi Andrew,

    for that, you can also use “Custom CSS” code.
    Here’s an example that will change all table names and descriptions and that you can use as a starting point and adapt:

    .wp-table-reloaded-table-name {
      color: #ff0000;
      font-family: Verdana;
      font-size: 16px;
    }
    
    .wp-table-reloaded-table-description {
      color: #00ff00;
      font-family: Verdana;
      font-size: 12px;
    }

    Regards,
    Tobias

    Hi Tobias,

    I’m being a bit dumb and I wasn’t clear. I actually meant changing the font and color for 1 table only. I’ve tried various versions of using a ‘space’ ‘-‘ and ‘.’ but can’t get it right.
    For example, these do not seem to work.

    .wp-table-reloaded-id-17-table-name {
    color: #ff0000;
    font-family: Verdana;
    font-size: 16px;
    }

    .wp-table-reloaded-id-17 .table-description {
    color: #00ff00;
    font-family: Verdana;
    font-size: 12px;
    }

    Sorry, thanks
    Andrew

    Plugin Author TobiasBg

    @tobiasbg

    Hi Andrew,

    ah ok 🙂

    That’s of course also possible. The CSS classes are just named a little weird, I guess :-/ Please try

    .wp-table-reloaded-table-name-id-17 {
      color: #ff0000;
      font-family: Verdana;
      font-size: 16px;
    }
    
    .wp-table-reloaded-table-description-id-17 {
      color: #00ff00;
      font-family: Verdana;
      font-size: 12px;
    }

    Regards,
    Tobias

    Thanks. That worked. I had to add !important in the Table Name for the color.

    BTW, what is the CSS for bold? Is it: font-style: Bold;

    .wp-table-reloaded-table-name-id-17 {
    color: #ff0000!important;
    font-family: Verdana;
    font-size: 14px;
    }

    .wp-table-reloaded-table-description-id-17 {
    color: #ff0000;
    font-family: Verdana;
    font-size: 14px;
    }

    Table Reloaded
    User Friendly Plugin + Great Support = Great Plugin 🙂

    Thanks
    Andrew

    http://www.visitbanteaychhmar.org/prices-and-tour-packages/tour-packages/

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    yeah, that !important might be necessary, depending on your theme’s CSS.

    The CSS instruction for bold font is

    font-weight: bold;

    Regards,
    Tobias

    Thanks for the great plugin and support.
    I’ll mark this as resolved.

    Andrew

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: WP-Table Reloaded] Table Name and Description Change Font Color’ is closed to new replies.
Skip to toolbar