{"id":15848485,"date":"2022-07-22T04:32:37","date_gmt":"2022-07-22T04:32:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-adding-global-settings\/"},"modified":"2022-07-22T04:34:30","modified_gmt":"2022-07-22T04:34:30","slug":"plugin-adding-global-settings","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-adding-global-settings\/","title":{"rendered":"Plugin adding global settings"},"content":{"rendered":"<p>Your plugin adds the following style globally. It&#8217;s a VERY aggressive style that will remove top margin from a block in a lot of themes! this should be looked at and reconsidered, you can center something with margin-left:auto; margin-right:auto; you don&#8217;t have to set the top and bottom to zero when you do this! not that this code has any reason to be non specific to the plugin though anyway.<\/p>\n<p>div.aligncenter {<br \/>\n  display: block;<br \/>\n  margin: 0 auto;<br \/>\n  width: fit-content;<br \/>\n}<\/p>\n","protected":false},"template":"","class_list":["post-15848485","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15848485","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":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15848485\/revisions"}],"predecessor-version":[{"id":15848491,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15848485\/revisions\/15848491"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15848485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}