- Merge request !13Issue #3222930: ".highlight" class is too broad and not BEM standards. → (Closed) created by amjad1233
The ".highlight" class being added by better_exposed_filters.js for checkboxes is too broad for the name. A lot of sites like our site has. "highlight" class used for highlighted elements. For example https://future-students.uq.edu.au
As well as it's not following the BEM standards.
Since it's being added by JS it's hard to manipulate via Drupal theming layer.
The class name should be ".bef-checkboxes--highlight". And for other elements .bef----highlight.
- Add a highlight class in your theme CSS.
- Create a view with BEF
- When it adds the class it uses the styles from theme CSS which might not be what you want.
Short Term.
In better_exposed_filters.js change the class name to ".bef-checkboxes--highlight"
Long Term
Make it broader and add class name via Drupal theme layer so can be modified by other modules or themes.
- Long Term Solution
- N/A
N/A
N/A
Fixed
5.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.