{"id":18783928,"date":"2026-01-13T08:22:23","date_gmt":"2026-01-13T08:22:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-styling-2\/"},"modified":"2026-01-13T08:22:23","modified_gmt":"2026-01-13T08:22:23","slug":"conditional-styling-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-styling-2\/","title":{"rendered":"Conditional styling"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are using your plugin along with Elementor form. We want to know if it&#8217;s possible to have some conditional styling &#8212; for example we have a drop down field with &#8220;Yes&#8221; and &#8220;No&#8221; as options to select. What we want is if &#8220;Yes&#8221; is selected, to have this coloured in red in the PDF, or add a red background, etc, so that it can be seen easily.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is this possible?<\/p>\n","protected":false},"template":"","class_list":["post-18783928","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18783928","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\/18783928\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18783928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}