Title: Missing Div Causing Layout issues
Last modified: August 21, 2016

---

# Missing Div Causing Layout issues

 *  [CanadianNomad](https://wordpress.org/support/users/canadiannomad/)
 * (@canadiannomad)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/missing-div-causing-layout-issues/)
 * Running the latest version of the plugin…
    Noticed my layout was getting messed
   up. Tracked it down to …/the-events-calendar/lib/the-events-calendar.class.php:
   304 `return apply_filters( 'tribe_events_view_before_html_data_wrapper', sprintf('
   <div id="tribe-events" class="tribe-no-js" %s>%s', implode(' ', $attribute_html),
   $html ), $data_attributes, $html );` it should be `return apply_filters( 'tribe_events_view_before_html_data_wrapper',
   sprintf( '<div id="tribe-events" class="tribe-no-js" %s>%s</div>', implode(' ',
   $attribute_html ), $html ), $data_attributes, $html );`
 * Notice the closing </div>
 * [http://wordpress.org/extend/plugins/the-events-calendar/](http://wordpress.org/extend/plugins/the-events-calendar/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [massimod](https://wordpress.org/support/users/massimod/)
 * (@massimod)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/missing-div-causing-layout-issues/#post-3926001)
 * Thanks for this, works GREAT.
 *  [sockerslacker](https://wordpress.org/support/users/sockerslacker/)
 * (@sockerslacker)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/missing-div-causing-layout-issues/#post-3926090)
 * thank you for this! i’ve been looking all over trying to figure out this issue!
 *  [jonahcoyote](https://wordpress.org/support/users/jonahcoyote/)
 * (@jonahcoyote)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/missing-div-causing-layout-issues/#post-3926243)
 * Hi all,
 * Thanks for this and we have fixed the missing div in a subsequent release so 
   you should no longer need the fix above.
 * – Jonah

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Missing Div Causing Layout issues’ 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/)

 * 3 replies
 * 4 participants
 * Last reply from: [jonahcoyote](https://wordpress.org/support/users/jonahcoyote/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/missing-div-causing-layout-issues/#post-3926243)
 * Status: not resolved