AB CSS Breaks Website CSS
-
I was using AB for a very short while on my Genesis Framework/Academy Pro site. The AB CSS overrides custom CSS used on the site and messes up the front page display.
I use a custom CSS class named .right to indicate content on the right side of a grid layout. AB also has a class called .right to set text to text-align: right;.
This is the first time I’ve seen a plugin use un-prefixed CSS in its classes. Not using prefixed classes contradicts the WordPress plugin best practices that say:
Prefix Everything #
All variables, functions and classes should be prefixed with a unique identifier. Prefixes prevent other plugins from overwriting your variables and accidentally calling your functions and classes. It will also prevent you from doing the same.
https://developer.ww.wp.xz.cn/plugins/plugin-basics/best-practices/
Please fix the plugin so it stops breaking websites.
The topic ‘AB CSS Breaks Website CSS’ is closed to new replies.