{"id":4072072,"date":"2013-08-27T20:04:34","date_gmt":"2013-08-27T20:04:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/trying-to-add-parameter-for-css-colour\/"},"modified":"2016-08-21T04:21:27","modified_gmt":"2016-08-21T04:21:27","slug":"trying-to-add-parameter-for-css-colour","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/trying-to-add-parameter-for-css-colour\/","title":{"rendered":"Trying to add parameter for CSS colour"},"content":{"rendered":"<p>I&#8217;m using this code:`<\/p>\n<p><code>&lt;div style=&quot;background-color:#d6ab29;color:%%text-color%%;padding:10px;margin:0 0 10px 0; text-align:center;&quot;&gt;%%text%%&lt;\/div&gt;<\/code><\/p>\n<p>When I go to insert the shortcode with the tinyMCE option, it shows the parameter for me to fill it in.  If I put in &#8220;black&#8221; or #000 or #000000 it doesn&#8217;t actually make the text black.<\/p>\n<p>When I look at the outputted code to the browser, this is what shows up:<\/p>\n<p><code>&lt;div style=&quot;background-color:#d6ab29;color:;padding:10px;margin:0 0 10px 0; text-align:center;&quot;&gt;This is my text!!!&lt;\/div&gt;<\/code><\/p>\n<p>Any thoughts?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/shortcoder\/<\/p>\n","protected":false},"template":"","class_list":["post-4072072","topic","type-topic","status-closed","hentry","topic-tag-css","topic-tag-shortcode","topic-tag-style"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4072072","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\/4072072\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4072072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}