Namespace your CSS please
-
Some of your CSS rules set on wp-content/plugins/smart-marketing-for-wp/admin/css/egoi-for-wp-admin.min.css are applying to the WordPress admin as a whole, which should not happen.
Example: your rule for
code
is applying to all code tags, even outside your plugin settings page.
https://snag.gy/Kcp9F5.jpgYou should:
1) Only load your CSS on your settings pages
2) Create a DIV with a unique ID on all your settings page and namespace your CSS like this:#your-unique-id code { ... }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Namespace your CSS please’ is closed to new replies.