Bad CSS breaks icon fonts
-
Your CSS includes this:
i { font-family: 'Connections-Brandicons' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;This is so inconsiderate, I can hardly believe it. Naturally, this breaks other, properly coded, font icon libraries; mostly due to the
!important, but your plugin should absolutely not be declaring any rules for elements without more specificity. It is presumptuous that your plugin would be the only thing to make use of<i>elements. If your plugin uses icon fonts, add class names to the elements.Normally, I would just uninstall and delete a plugin like this, but this on a client site that has been using the plugin with a paid extension for a couple years.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Bad CSS breaks icon fonts’ is closed to new replies.