Title: CSS is breaking theme
Last modified: August 22, 2016

---

# CSS is breaking theme

 *  Resolved [DasSkar](https://wordpress.org/support/users/dasskar/)
 * (@dasskar)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/css-is-breaking-theme/)
 * Hello,
 * The Events Calendar’s css is breaking at least 2 themes – baylys and tatami by
   elmastudio.
 * Following overrides design rules handling the ‘top’-navigation :
 * > .clearfix:before,.tribe-clearfix:before,.clearfix:after,.tribe-clearfix:after{
   > content:””;display:table}
 * (for demo checkout [http://themes.elmastudio.de/baylys/](http://themes.elmastudio.de/baylys/)-
   > bottom right)
 * Deleting “.clearfix:before,” doesn’t seem to impact the calendar in any manner
   but it fixes the break.
 * “.tribe-clearfix” seems to be specific enough to work around any coming problems.
   Themes by elmastudio may not be the only once using class name “clearfix”.
 * Could you please remove “clearfix:before” from the plugin’s css ?
 * Thanks in advance
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

Viewing 1 replies (of 1 total)

 *  [Brook](https://wordpress.org/support/users/brook-tribe/)
 * (@brook-tribe)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/css-is-breaking-theme/#post-5269438)
 * Thanks for pointing that out DaSkar. We do strive to use prefixed tribe- classes
   whenever possible. I have not had a chance to dive into this in full, but I agree
   that we should be able to remove any .clearfix stuff from our CSS. It is very
   strange that this would break a theme, clearfix CSS is extremely standard. But,
   hey some people just like to break the mold!
 * I will write a note to have a dev dive in and see if there is more we can do.
   Thanks again!
 * – Brook

Viewing 1 replies (of 1 total)

The topic ‘CSS is breaking theme’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brook](https://wordpress.org/support/users/brook-tribe/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/css-is-breaking-theme/#post-5269438)
 * Status: resolved