{"id":10625812,"date":"2018-08-26T15:25:23","date_gmt":"2018-08-26T15:25:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/customisertk-google-fonts-use-overrides-custom-css-class-font-family\/"},"modified":"2018-08-26T15:25:23","modified_gmt":"2018-08-26T15:25:23","slug":"customisertk-google-fonts-use-overrides-custom-css-class-font-family","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/customisertk-google-fonts-use-overrides-custom-css-class-font-family\/","title":{"rendered":"Customiser&gt;TK Google Fonts&#8217; use overrides custom CSS class font-family"},"content":{"rendered":"<p>In Customiser &gt; TK Google Fonts, I had chosen for one class (.site-title) a font that was installed in TK Google Fonts &gt; Settings from fonts.google.com. <\/p>\n<p>I then wished to stop using that font (or any Google font) for the class, so I returned to Customiser and selected the blank at the top of the list of installed Google fonts.<\/p>\n<p>The result was that the class was then styled by TK Google Fonts with &#8220;font-family: none !important&#8221;. This is overriding any font that I then try to set in Customiser &gt; Addditional CSS, even when I use !important.<\/p>\n<p>Given that the Customiser fonts list is blank and does not say &#8220;None&#8221;, I think that the expected result is that TK Google Font stop applying (i.e. remove) its font-family rule for that class. It should not apply a rule of &#8220;font-family: none !important&#8221;, for which a use-case is not obvious to me.<\/p>\n<p>As a test, I disabled TK Google Fonts. The &#8220;font-family: none !important&#8221; rule disappeared and I was able to apply any uploaded or default font of my choice to the class via custom CSS as expected.<\/p>\n<p>WordPress: 4.9.8<br \/>\nPHP: 5.6.30<br \/>\nTheme: _tk<\/p>\n","protected":false},"template":"","class_list":["post-10625812","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10625812","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\/10625812\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10625812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}