• Resolved dzinfandel

    (@dzinfandel)


    Am trying to set row formatting based on cell values and have tried many things I thought should work.
    Tested for correct ” format and set Short code

    Shortcode
    [table id=2 highlight=”1||2||3″ row_highlight_full_cell_match=false /]
    tried no table id and xact and inexact match

    CSS as follows and also tried with td{ as this was sometimes referenced.

    .tablepress .row.highlight-1 {
    	background-color: #FFD700 !important;
    }
    
    .tablepress .row.highlight-2 {
    	background-color: #C0C0C0 !important;
    }
    
    .tablepress .row.highlight-3 {
    	background-color: #CD7F32 !important;
    }

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    It looks like you are using the Cell Highlighting Extension. Please try this “Custom CSS” then:

    .tablepress-id-2 .column-5.highlight-1 {
    	background-color: #FFD700 !important;
    }
    .tablepress-id-2 .column-5.highlight-2 {
    	background-color: #C0C0C0 !important;
    }
    .tablepress-id-2 .column-5.highlight-3 {
    	background-color: #CD7F32 !important;
    }

    Regards,
    Tobias

    Thread Starter dzinfandel

    (@dzinfandel)

    Man you are good!

    Is there any documentation on the various switches available on the extensions?

    I was mixing cell conditional formatting with row conditional formatting.

    I will be certainly reviewing this positively and contributing monetarily.

    Thanx
    Dave!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no, sorry, these particular Extensions are not yet documented that well. I’m far behind on that, unfortunately.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Conditional formatting issue’ is closed to new replies.