Title: div inside head element
Last modified: August 21, 2016

---

# div inside head element

 *  Resolved [damiroquai](https://wordpress.org/support/users/damiroquai/)
 * (@damiroquai)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/div-inside-head-element/)
 * I noticed that your plugin inserts div tag in header element instead of the body
   element… Do you have an idea how to fix it?
 * [https://wordpress.org/plugins/buooy-scroll-to-top/](https://wordpress.org/plugins/buooy-scroll-to-top/)

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

 *  Plugin Author [Buooy](https://wordpress.org/support/users/buooy/)
 * (@buooy)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/div-inside-head-element/#post-4680700)
 * Hi damiroqual,
 * Good catch. I wrote this plugin in 10 minutes and didnt realise that I hooked
   it to wp_head instead of wp_footer. Should have been there. Will change it and
   update the svn soon.
 *  Plugin Author [Buooy](https://wordpress.org/support/users/buooy/)
 * (@buooy)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/div-inside-head-element/#post-4680828)
 * Hi,
 * the latest 1.0.2v has shifted the element to within the body tag.

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

The topic ‘div inside head element’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buooy-scroll-to-top.svg)
 * [Buooy Scroll To Top](https://wordpress.org/plugins/buooy-scroll-to-top/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buooy-scroll-to-top/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buooy-scroll-to-top/)
 * [Active Topics](https://wordpress.org/support/plugin/buooy-scroll-to-top/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buooy-scroll-to-top/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buooy-scroll-to-top/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Buooy](https://wordpress.org/support/users/buooy/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/div-inside-head-element/#post-4680828)
 * Status: resolved