Styles loading on every page
-
The plugin style files at: /dist/styles_public.css load on every page of my site, regardless of whether or not the ExpertFile plugin is being used on that page. This css file contains some generic class/element names, which are conflicting with other styles on our site.
Could one of two things happen –
1. Add an expertfile wrapper class to the css file, so that those styles don’t impact other elements on our site
2. only enqueue that specific css file if a shortcode element is present on the pageI implemented a workaround on my site, but I think a solution to this problem should be added to the code base.
Thank you!
The topic ‘Styles loading on every page’ is closed to new replies.