{"id":5934434,"date":"2015-03-24T09:29:58","date_gmt":"2015-03-24T09:29:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/does-wp4-overwrites-custom-editor-style-font\/"},"modified":"2016-08-22T18:23:47","modified_gmt":"2016-08-22T18:23:47","slug":"does-wp4-overwrites-custom-editor-style-font","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/does-wp4-overwrites-custom-editor-style-font\/","title":{"rendered":"does WP now overwrites custom editor style font?"},"content":{"rendered":"<p>Hi all<\/p>\n<p>I use a custom-editor-style.css file to edit my WP visual editor&#8217;s font family and size.<br \/>\nIt used to work fine. But now somehow the font type is overwritten with a tahoma font, which is not in my custom style file. I think this started to happen with WP 4. Does WP now sonehow overrides visual editor&#8217;s font type?<\/p>\n<p>My file does what it is supposed to do fine regarding the font size, weight and height. Only the font family now has no effect, no matter how I change it.<\/p>\n<p>Here is the content of my css file:<\/p>\n<pre><code>body{\nfont-family: Arial, sans-serif;\nfont-size: 100%; \/*change according to your desire*\/\nfont-weight: 600; \/*change according to your desire*\/\nline-height: 1.4; \/*change according to your desire*\/\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-5934434","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5934434","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\/5934434\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5934434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}