Site icon Hip-Hop Website Design and Development

WordPress plugin development theme issue

Developed the WordPress plugin using https://materializecss.com/ framework , Once plugin activated it will automatically create 4 pages in WordPress. Here I’m facing one issue with WordPress multiple theme. In some of the theme they are directly writing CSS for the elements without using any classes or id. For example: body{ margin:0; padding:0;} button{width:40px} Like this they have done because of this its affecting all the pages created by plugin. For temporary solution override those styles from plugin itself. But its differ based on themes can’t able to override each and every CSS properties.

Anyone know how to solve this issue please post your answer here. Because of this issue still plugin not pushed to WordPress.Org market place.