css class changes for WP compatibility