Widget problem: style="clear:both"
-
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"
withstyle=""
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!
-
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/)
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
orclear:right
.I’m not seeing the same problem – it all aligns as it should on my test site: 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?
Hi,
the site is 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
Working (i.e. links to the events are enabled): https://dl.dropboxusercontent.com/u/52098652/Working.PNGThe 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!
Thanks! Did you send it via email? Because I haven’t received anything.
Yup, sent it about 30 minutes ago.
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.
I installed the version you provided and the situation is even worse:
Broken content: https://dl.dropboxusercontent.com/u/52098652/Broken1.PNG
This is how it’s supposed to look: 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.PNGSigh….
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.
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.
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
Could you tell me once you have seen it, so I can revert it to the working version?Can you resave your styles, there is a style missing from the css.
I did it, it got better, but not completely. See the web.
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.
- The topic ‘Widget problem: style="clear:both"’ is closed to new replies.