Title: Widget problem: style=&quot;clear:both&quot;
Last modified: August 22, 2016

---

# Widget problem: style="clear:both"

 *  Resolved [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/)
 * Hi,
 * I have successfully solved a problem with Quick Event Manager.
 * The widget (under my theme) always got as long as the text in the main page. 
   The quick fix to this was editing quick-event-manager.php and replacing two occurrences
   of `style="clear:both"` with `style=""`
 * However, this is a hacky solution — each time a new version of this plugin comes
   out I will have to change it manually. Could you please have a look at this?
 * P. S. This is **finally** a working, usable, easy-to-use WP event plugin! You
   are a hero!
 * [https://wordpress.org/plugins/quick-event-manager/](https://wordpress.org/plugins/quick-event-manager/)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/widget-problem-styleclearboth/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/widget-problem-styleclearboth/page/2/?output_format=md)

 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460641)
 * I was just about to upload a major update with a zillion new features so it’s
   just as well I checked the support forum first!
 * I’ve deleted the clear:both bit and it seems to be working OK. Can you email 
   me through the plugin website and I will send you the update to test ([http://quick-plugins.com/quick-event-manager/](http://quick-plugins.com/quick-event-manager/))
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460650)
 * Hi,
 * wow, that is great. There is however a problem with this solution: If you disable
   the option to have links to the event in the widget, then the formatting gets
   corrupt. Maybe it should be replaced with `clear:left` or `clear:right`.
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460815)
 * I’m not seeing the same problem – it all aligns as it should on my test site:
   [http://testblog.co.uk/](http://testblog.co.uk/)
 * Links on/links off and styling on/styling of – no difference.
 * Can you send me a link to your site so I can check the code?
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460818)
 * Hi,
 * the site is [http://www.monikazidkova.eu](http://www.monikazidkova.eu).
 * Here are the screenshots with the problem:
    Broken (i.e. links to the event are
   disabled): [https://dl.dropboxusercontent.com/u/52098652/Broken.PNG](https://dl.dropboxusercontent.com/u/52098652/Broken.PNG)
   Working (i.e. links to the events are enabled): [https://dl.dropboxusercontent.com/u/52098652/Working.PNG](https://dl.dropboxusercontent.com/u/52098652/Working.PNG)
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460819)
 * The output has two parts: the icon and the event content. The icon is floated
   left of the event content. If you have a very short event content area (ie: just
   the event name) it doesn’t extend below the height of the icon which is why you
   need the clear:left.
 * That’s the technical bit out the way, I’ve just sent you the update. fingers 
   it works crossed this time!
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460820)
 * Thanks! Did you send it via email? Because I haven’t received anything.
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460821)
 * Yup, sent it about 30 minutes ago.
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460822)
 * It got caught by a spam filter for some reason, I’ve got it now. Many thanks.
   I will test it and let you know.
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460823)
 * I installed the version you provided and the situation is even worse:
    Broken
   content: [https://dl.dropboxusercontent.com/u/52098652/Broken1.PNG](https://dl.dropboxusercontent.com/u/52098652/Broken1.PNG)
   This is how it’s supposed to look: [https://dl.dropboxusercontent.com/u/52098652/OK1.PNG](https://dl.dropboxusercontent.com/u/52098652/OK1.PNG)
   Broken widget (again second entry aligned after the content of the main page):
   [https://dl.dropboxusercontent.com/u/52098652/Broken2.PNG](https://dl.dropboxusercontent.com/u/52098652/Broken2.PNG)
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460825)
 * Sigh….
 * I wish I was better at coding. I’ve sent you another update.
 * I’ve tested the plugin using the 2014 theme and it works – this is the base test
   I use to make sure there aren’t any gremlins. Which does sort of indicate there
   is a clear fix hiding somewhere in your theme code.
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460826)
 * No problem at all, I am happy to help you testing it.
 * If you want to try it with my theme, I am using zeeDynamic Theme.
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460827)
 * The problem still persists. I will leave it broken for the next 10 minutes so
   that you can have a look at it. See [http://www.monikazidkova.eu](http://www.monikazidkova.eu)
   
   Could you tell me once you have seen it, so I can revert it to the working version?
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460828)
 * Can you resave your styles, there is a style missing from the css.
 *  Thread Starter [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * (@augustin_zidek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460829)
 * I did it, it got better, but not completely. See the web.
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/#post-5460830)
 * Can you delete that one event for now and see what happens. If it all look ok
   it means there is something odd.
 * When I looked at the event the gap reduced so there is some odd going on that
   I can’t identify.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/widget-problem-styleclearboth/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/widget-problem-styleclearboth/page/2/?output_format=md)

The topic ‘Widget problem: style="clear:both"’ is closed to new replies.

 * ![](https://ps.w.org/quick-event-manager/assets/icon-256x256.png?rev=3318950)
 * [Quick Event Manager](https://wordpress.org/plugins/quick-event-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-event-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-event-manager/reviews/)

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 23 replies
 * 2 participants
 * Last reply from: [Augustin_Zidek](https://wordpress.org/support/users/augustin_zidek/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/widget-problem-styleclearboth/page/2/#post-5460947)
 * Status: resolved