pasztet015
New Member
The code below is not applying the css rule clearfix:after I have never used a css rule with a colon in the middle so I dont know why it is not working, any help.I have the following code in my scss file\[code\].clearfix { zoom: 1; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; }\[/code\]and the following in my html\[code\]<div id="sidebar1" class="sidebar fourcol first clearfix:after" role="complementary"> <?php if ( is_active_sidebar( 'sidebar1' ) ) : ?> <?php dynamic_sidebar( 'sidebar1' ); ?> <?php else : ?> <!-- This content shows up if there are no widgets defined in the backend. --> <div class="alert help"> <p><?php _e("Please activate some Widgets.", "bonestheme"); ?></p> </div> <?php endif; ?> </div>\[/code\]