Okay
  Public Ticket #1564353
Font color conditional
Closed

Comments

  • alanpsimmonds started the conversation

    Hi

    I'd like to set the font color of text in a cell dependent on its content - I have in Setting -> 'Custom wpDataTables CSS'

    .redfont {color: red !important;}

    and for the specified column in 'Conditional Formatting' 

    'If cell value = abcdef Set cell CSS class redfont'

    This does not work (it does work if I set the action to 'Set cell color red')

    Any help would be much appreciated.

    Thanks

    Alan

  •  472
    Isidora replied

    Hi Alan,
    Thank you fro your purchase.

    Sorry for late response. 

    We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.

    Can you try to add this code in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.

    table.wpDataTable tbody tr td.redfont {color: red !important;}

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables