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).

    Thread Starter 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 ‘[Plugin: ELI's Custom SQL Report Admin with shortcode] alternate row color?’ is closed to new replies.