More CSS Specificity Required – Conflict with Divi theme
-
There is a CSS conflict when using this plugin with the Divi theme. This is caused by the file multidatespicker.css which doesn’t have enough specificity for each CSS rule.
For instance, your CSS file has a rule for .ui-widget. This means that any other element in the DOM that happens to have the class name ui-widget will have your rule mistakenly applied to it.
The Divi theme, for instance, has a bunch of class names in its UI that are being inadvertently styled by the rules in your CSS file.
If you could add some more specificity to each rule in your CSS file, then that would make sure that the rules in your CSS file aren’t applied to other elements that happen to share the same class names.
- The topic ‘More CSS Specificity Required – Conflict with Divi theme’ is closed to new replies.