{"id":153376,"date":"2022-02-11T22:57:03","date_gmt":"2022-02-11T22:57:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/global-styles-mods\/"},"modified":"2025-12-13T09:30:48","modified_gmt":"2025-12-13T09:30:48","slug":"global-styles-mods","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/global-styles-mods\/","author":13265138,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"5.9","requires_php":"7.0","requires_plugins":null,"header_name":"Global Styles Mods","header_author":"WebMan Design, Oliver Juhas","header_description":"Lowers specificity of WordPress 5.9+ global styles by removing `!important` rule and using `:root` instead of `body` selector for setting up CSS properties.","assets_banners_color":"","last_updated":"2025-12-13 09:30:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.webmandesign.eu\/contact\/#donation","header_plugin_uri":"https:\/\/github.com\/webmandesign\/global-styles-mods","header_author_uri":"https:\/\/www.webmandesign.eu\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":2470,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"webmandesign","date":"2023-05-25 14:28:23"},"1.1.0":{"tag":"1.1.0","author":"webmandesign","date":"2025-12-13 09:30:48"}},"upgrade_notice":{"1.1.0":"<p>Added compatibility with Gutenberg plugin.<\/p>","1.0.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2677438,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2677438,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2677438,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2677959,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Issues with font sizes after WordPress 5.9 update."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1250,483,4852,201279,148076],"plugin_category":[],"plugin_contributors":[77949],"plugin_business_model":[],"class_list":["post-153376","plugin","type-plugin","status-publish","hentry","plugin_tags-colors","plugin_tags-fix","plugin_tags-font-size","plugin_tags-global-styles","plugin_tags-gutenberg","plugin_contributors-webmandesign","plugin_committers-webmandesign"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/global-styles-mods\/assets\/icon.svg?rev=2677438","icon":"https:\/\/ps.w.org\/global-styles-mods\/assets\/icon.svg?rev=2677438","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/global-styles-mods\/assets\/screenshot-1.jpg?rev=2677959","caption":"Issues with font sizes after WordPress 5.9 update."}],"raw_content":"<!--section=description-->\n<h4>Plugin's purpose<\/h4>\n\n<p>This plugin fixes styling issues introduced in WordPress 5.9.<\/p>\n\n<h4>\ud83d\udc4d When to use this plugin<\/h4>\n\n<ul>\n<li>\u2705 Your WordPress is of version 5.9 or newer<\/li>\n<li>\u2705 You are using a theme that supports block editor (Gutenberg) features such as preset font sizes and color palette<\/li>\n<li>\u2705 Your theme does not support <a href=\"https:\/\/wordpress.org\/news\/2022\/01\/josephine\/\">full site editing (FSE) feature<\/a> (from <a href=\"https:\/\/github.com\/WordPress\/gutenberg\/issues\/38252\">conversation about reported issues<\/a> it seems they affect Gutenberg-ready themes only and FSE themes should be fine)<\/li>\n<li>\u2705 You experience font size or color issues on your website after WordPress 5.9 update<\/li>\n<li>\u2705 Your theme has not been updated to fix these issues<\/li>\n<\/ul>\n\n<h4>\u270b When NOT to use this plugin<\/h4>\n\n<ul>\n<li>You are not using WordPress 5.9 or newer<\/li>\n<li>Your theme was updated and is fixing the issues<\/li>\n<li>Your theme does not support block editor features (such as preset color palette or font sizes)<\/li>\n<li>Your theme is <a href=\"https:\/\/wordpress.org\/news\/2022\/01\/josephine\/\">full site editing (FSE) ready<\/a><\/li>\n<li>You don't experience any font size or color issues on your website after updating to WordPress 5.9<\/li>\n<\/ul>\n\n<h4>Technical info<\/h4>\n\n<p>WordPress 5.9 started applying <code>!important<\/code> rule and is setting up CSS properties (CSS variables) within <code>body<\/code> selector in its global styles code. This rises the global styles specificity and may override styles coming from themes and plugins. (For more info about this change check <a href=\"https:\/\/make.wordpress.org\/core\/2022\/01\/08\/updates-for-settings-styles-and-theme-json\/#changes-to-the-global-stylesheet\">\"Updates for Settings, Styles, and theme.json\" article<\/a>.)<\/p>\n\n<p><strong>Global Styles Mods<\/strong> plugin lowers the specificity of WordPress 5.9 global CSS styles by removing <code>!important<\/code> rules and changing <code>body<\/code> to <code>:root<\/code> selector for setting up WordPress CSS properties (CSS variables).<\/p>\n\n<p>It also enqueues the global styles early enough so your theme or plugin stylesheet have a better chance to override global styles with minimal effort.<\/p>\n\n<p>The fix applied is coming from issue <a href=\"https:\/\/github.com\/WordPress\/gutenberg\/issues\/38252#issuecomment-1024348024\">conversation in Gutenberg GitHub repository<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the plugin download file and upload <code>global-styles-mods<\/code> folder into the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <em>\"Plugins\"<\/em> menu in WordPress.<\/li>\n<li>Plugin has no options and works immediately after activation. The plugin requires WordPress of version 5.9 to run. If you experienced issues with font sizes and\/or colors after updating to WordPress 5.9, this plugin should fix them - that's how you know the plugin is working.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='it%20does%20not%20work%2C%20help%21'><h3>It does not work, help!<\/h3><\/dt>\n<dd><p>The plugin requires WordPress 5.9 to work.<\/p>\n\n<p>Also, it works quietly behind the scenes and simply modifies WordPress global CSS styles code - check your website page source in the browser for comparison when plugin is active vs. when it's inactive.<\/p>\n\n<p>If you experienced issues with font sizes and\/or colors after updating to WordPress 5.9, this plugin should fix them - that's how you know the plugin is doing its magic.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>Please see the <a href=\"https:\/\/github.com\/webmandesign\/global-styles-mods\/blob\/master\/changelog.md\"><code>changelog.md<\/code> file<\/a> for details.<\/p>","raw_excerpt":"Fixes styling issues in WordPress 5.9 modifying global styles code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153376"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webmandesign"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153376"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153376"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153376"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153376"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153376"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}