{"id":5295999,"date":"2014-09-15T16:08:33","date_gmt":"2014-09-15T16:08:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugins-css-affecting-the-whole-web-site\/"},"modified":"2016-08-22T01:32:05","modified_gmt":"2016-08-22T01:32:05","slug":"plugins-css-affecting-the-whole-web-site","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugins-css-affecting-the-whole-web-site\/","title":{"rendered":"Plugin&#039;s CSS affecting the whole web site"},"content":{"rendered":"<p>Hello Ahmet,<br \/>\nin <em>plugins\/ahmeti-wp-timeline\/TimelinerJquery\/css\/responsive.css<\/em><br \/>\nthere are some generic declarations which affect (I may say break) the whole web site. I hope you can fix this, with specific rules for your plugin (no *, no body, no .container).<br \/>\nThank you.<\/p>\n<p>Here is the code:<\/p>\n<pre><code>* {\n        max-width: 460px;\n    }\n\n    body {\n        font-size: large;\n    }\n\n    .container {\n       padding:10px;\n    }\n\n...\n\n\/* Smartphones (portrait) ----------- *\/\n@media only screen and (max-width : 320px) {\n\n    * {\n        max-width: 300px;\n    }\n\n}<\/code><\/pre>\n<p>https:\/\/wordpress.org\/plugins\/ahmeti-wp-timeline\/<\/p>\n","protected":false},"template":"","class_list":["post-5295999","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5295999","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\/5295999\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5295999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}