{"id":4917057,"date":"2014-05-15T04:40:40","date_gmt":"2014-05-15T04:40:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/please-namespace-your-css\/"},"modified":"2016-08-21T20:35:43","modified_gmt":"2016-08-21T20:35:43","slug":"please-namespace-your-css","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/please-namespace-your-css\/","title":{"rendered":"Please namespace your css"},"content":{"rendered":"<p>Hello,<br \/>\nI&#8217;ve found your calendar-ios.css file has css for the .button class which conflicts with my theme. As a web developer I utilize this class very often and I&#8217;m sure many others do too.<br \/>\nJust wanted to raise so you can make your plugin agnostic by either namespacing it or targetting the css more directly so it doesn&#8217;t interfere with anyone installation.<br \/>\nThe conflicting css from calendar-ios.css<br \/>\n.button {<\/p>\n<p>\t-webkit-border-radius: 11px !important;;<br \/>\n \t border-radius: 11px !important;;<br \/>\n\t text-shadow: white 0px 1px 0px;<br \/>\n\t bbackground-origin: padding-box;<br \/>\n\t\tborder-bottom-width: 1px;<br \/>\n\t\tborder-left-width: 1px;<br \/>\n\t\tborder-right-width: 1px;<br \/>\n\t\tborder-top-width: 1px;<br \/>\n}<br \/>\n*I&#8217;ve updated my install as .calendar .button as I don&#8217;t currently use .calendar but again I can see that as a fairly used class by developers so would suggest namespacing it for better uniqueness as maybe .formmaker_calendar .formmaker_button, etc. or short .fm_calendar .fm_button<br \/>\nGreatly appreciated,<br \/>\nCheers<\/p>\n<p>https:\/\/wordpress.org\/plugins\/form-maker\/<\/p>\n","protected":false},"template":"","class_list":["post-4917057","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4917057","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\/4917057\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4917057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}