WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: ELI's Custom SQL Report Admin with shortcode] alternate row color?

[Resolved] [Plugin: ELI's Custom SQL Report Admin with shortcode] alternate row color?

  • RenoJohn

    @renojohn

    Wow, this plugin is the best kept secret on planet earth. Awesome in every way.

    It gives no-brainer option for border, wonder if that same “for dummies” could be incorporated for alternating row background colors?

    or maybe a quick hint as to how this might be done.

    Thanks for an awesome plugin!!

    http://wordpress.org/extend/plugins/elisqlreports/

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

    @scheeeli

    Hey John,
    I just added some classes to the table and TRs so you have better style control.

    The new classes are:
    ELISQLREPORTS-Header-Row
    ELISQLREPORTS-Odd-Row
    ELISQLREPORTS-Even-Row

    so you can add something like
    ELISQLREPORTS-Odd-Row {background-color: #F00;}
    to your styles.css and every other row will be red.

    Aloha, Eli

    Plugin Author Eli

    @scheeeli

    Correction:
    the CSS usage example would be:
    .ELISQLREPORTS-Odd-Row {background-color: #F00;}

    Sorry, I forgot the “DOT” at the beginning (because it is a class name).

    RenoJohn

    @renojohn

    Man-o-Man

    That is awesome!! So now I take my SQL query(s), drop them into a page/post via shortcode –and now I can style them too.

    …and it ain’t even Christmas! Thanks so much! This new functionality is great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: ELI's Custom SQL Report Admin with shortcode] alternate row color?’ is closed to new replies.