• Hi,
    Is there any way to change the row color just by adding any sort of html code while creating a table.
    The thing is, i don’t want to edit the CSS because my CSS will become very lengthy as i am using hundreds of tables of different types already.

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

    (@tobiasbg)

    Hi,

    no, sorry, row colors (if you mean background colors) can only be changed by CSS.

    If your CSS is very long, you might want to consider placing it into a separate file instead of loading it inline (which the plugin currently does), and loading that file in your page head.

    Regards,
    Tobias

    Thread Starter techgodown

    (@techgodown)

    Thanks for quick response,

    Now that is good alternative to load CSS separately. i was looking for it for quite a long time but i don’t know how to do it exactly may be you could help me.

    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    basically, you only need to copy your “Custom CSS” into a new .css file, upload that to your server (e.g. into the theme folder) and then include that file with a HTML <link> command in the <head> part of your theme, which you can likely find in the header.php file of your theme. A similar (and actually better solution) would be to use the wp_enqueue_style() function with that new CSS file. That function call would have to go into your theme’s functions.php and it would do everything that is necessary for the inclusion. For more, I recommend the WP Codex page on that function.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Change Row Color without changing css’ is closed to new replies.