Stupid hardcoded styling in this plugin
-
Why is there stupid styling rules in this plugin? like this :
<div style="padding:5px 10px;font-weight:700;color:green;" class="clear_dwccm">and this, parts of which cannot be overriden because of the forced “!important” : `function display_front_wccs() {
echo ‘<style type=”text/css”>
.wccs-field-class {
float:left;
width: 47%;
}
.wccs-field-class:nth-child(2n+2) {
padding-right: 3.4% !important;
}
.add_info_wccs {
clear: both;
}
</style>’;
}`Remove that crap from the plugin asap mr plugin author, inline styling and using !important is not BEST PRACTICE… are you for real
The topic ‘Stupid hardcoded styling in this plugin’ is closed to new replies.