{"id":311,"date":"2016-09-19T19:05:30","date_gmt":"2016-09-19T19:05:30","guid":{"rendered":"https:\/\/wiki.samuelchopard.ch\/?p=311"},"modified":"2019-03-18T14:29:25","modified_gmt":"2019-03-18T13:29:25","slug":"override-css-parametersstrings","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/override-css-parametersstrings\/","title":{"rendered":"Override CSS parameters\/strings"},"content":{"rendered":"<p><!--more--><\/p>\n<p>When editing and existing CSS stylesheet, it may necessary to override a certain parameter. This function allows to set new parameters that will override the other parameters with the same selector in the same stylesheet.<\/p>\n<p>Here&#8217;s the string:<\/p>\n<pre class=\"EnlighterJSRAW\">!important<\/pre>\n<p>Example of use:<\/p>\n<pre class=\"EnlighterJSRAW\">.selector {\n     font-weight: normal &lt;b&gt;!important&lt;\/b&gt;;\n}<\/pre>\n<p>Source: <a target=\"_blank\" href=\"https:\/\/www.smashingmagazine.com\/2010\/11\/the-important-css-declaration-how-and-when-to-use-it\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.smashingmagazine.com\/2010\/11\/the-important-css-declaration-how-and-when-to-use-it\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"When editing and existing CSS stylesheet, it may necessary to override a certain parameter. This function allows to set new [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[13,204,207,305],"class_list":["post-311","post","type-post","status-publish","format-standard","hentry","category-htmlcss","tag-important","tag-override","tag-parameter","tag-trick"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":1,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/311\/revisions"}],"predecessor-version":[{"id":54906,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/311\/revisions\/54906"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}