• Resolved Augustin_Zidek

    (@augustin_zidek)


    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://www.ads-software.com/plugins/quick-event-manager/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Augustin_Zidek

    (@augustin_zidek)

    I removed it and the problem persists. I think I know what causes the problem but I can’t find it in the code.

    The issue is that the first event in the widget is aligned correctly. But the next one will be vertically always aligned after the contents of the main page (i.e. see how the vertical length of the widget changes if you go to different pages with different lengths).

    I think that this is somehow caused by the clear property, see for more details.

    It’s something in your theme. I think it has to do with the clesrfix style in the sidebar.

    Switch to the 2014 theme and see what happens.

    Thread Starter Augustin_Zidek

    (@augustin_zidek)

    Works fine there.

    Which means there is something in your theme CSS. I’ve had a good look but can’t find it. Try getting rid of the clearfix from your secondary styles.

    Thread Starter Augustin_Zidek

    (@augustin_zidek)

    I think I found a solution:

    Add display: inline-block; vertical-align:top; into the quick-event-manager-custom.css, i.e. the first line of the file changes into:

    .qem {width:100%;margin: 0 0 20px 0; display: inline-block; vertical-align:top;}

    This works also when the links are disabled. Could you please check if this works in other themes as well?

    Augustin,

    I sent you an update a couple of days back. Have you had a change to test (it seems to work OK for me).

    Thread Starter Augustin_Zidek

    (@augustin_zidek)

    Sorry, I have been busy in the past few days and I haven’t managed to test it. I will try to do it ASAP and I will let you know.

    Thread Starter Augustin_Zidek

    (@augustin_zidek)

    Seems to work fine. Thank you very much!

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Widget problem: style="clear:both"’ is closed to new replies.