Title: [Plugin: Github WordPress Widget] Design broken when using divs
Last modified: August 20, 2016

---

# [Plugin: Github WordPress Widget] Design broken when using divs

 *  [jnewc](https://wordpress.org/support/users/jnewc/)
 * (@jnewc)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-github-wordpress-widget-design-broken-when-using-divs/)
 * Design makes a lot of assumptions (i.e. that user wishes to use ul/li combo for
   formatting) and breaks most blogs I’ve tried it on when forcing the use of divs.
 * Example code that breaks blog:
 * register_sidebar(array(
    ‘name’ => ‘Sidebar’, ‘id’ => ‘my-widget-area’, ‘description’
   => ‘My widget area’, ‘before_widget’ => ‘<div id=”%1$s” class=”my-widget-container%
   2$s”>’, ‘after_widget’ => “</div>” ));
 * This code fails to close a div somewhere that causes everything that follows 
   it in the page to fall out of flow. Hoping this will be fixed because this is
   a great plugin otherwise. Will update rating when this is fixed.
 * [http://wordpress.org/extend/plugins/github-profile-display/](http://wordpress.org/extend/plugins/github-profile-display/)

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

 *  Plugin Author [pgogy](https://wordpress.org/support/users/pgogy/)
 * (@pgogy)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-github-wordpress-widget-design-broken-when-using-divs/#post-2485079)
 * I’ve checked here and it seems to close both divs fine. Can you check version
   0.92 when it comes out and see which div doesn’t close (have added HTML comment
   tags to the widget).
 * Thanks
 *  Plugin Author [pgogy](https://wordpress.org/support/users/pgogy/)
 * (@pgogy)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-github-wordpress-widget-design-broken-when-using-divs/#post-2485214)
 * This issue is now fixed

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

The topic ‘[Plugin: Github WordPress Widget] Design broken when using divs’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/github-profile-display_f2e6e0.svg)
 * [Github Wordpress Widget](https://wordpress.org/plugins/github-profile-display/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/github-profile-display/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/github-profile-display/)
 * [Active Topics](https://wordpress.org/support/plugin/github-profile-display/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/github-profile-display/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/github-profile-display/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pgogy](https://wordpress.org/support/users/pgogy/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-github-wordpress-widget-design-broken-when-using-divs/#post-2485214)
 * Status: not resolved