{"id":16095077,"date":"2022-10-13T08:18:13","date_gmt":"2022-10-13T08:18:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-formatting-issue\/"},"modified":"2022-10-13T08:18:13","modified_gmt":"2022-10-13T08:18:13","slug":"conditional-formatting-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-formatting-issue\/","title":{"rendered":"Conditional formatting issue"},"content":{"rendered":"<p>Am trying to set row formatting based on cell values and have tried many things I thought should work.<br \/>\nTested for correct &#8221; format and set Short code<\/p>\n<p><strong>Shortcode<\/strong><br \/>\n[table id=2 highlight=&#8221;1||2||3&#8243; row_highlight_full_cell_match=false \/]<br \/>\ntried no table id and xact and inexact match<\/p>\n<p><strong>CSS <\/strong>as follows and also tried with td{ as this was sometimes referenced.<\/p>\n<pre><code>.tablepress .row.highlight-1 {\n\tbackground-color: #FFD700 !important;\n}\n\n.tablepress .row.highlight-2 {\n\tbackground-color: #C0C0C0 !important;\n}\n\n.tablepress .row.highlight-3 {\n\tbackground-color: #CD7F32 !important;\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-16095077","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16095077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16095077\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16095077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}