• Hi Joe!

    This has been persistent for a few versions but I only just now figured out what the pattern was.

    I’ve got the widget loaded on my homepage, showing “4 events into the future” in a space that is sized to only hold 4.

    The problem is, I definitely need events to show if they begin “today,” so I’ve checked the “include today’s events” box in the widget.

    BUT… when there IS a “today” event, that makes FIVE events show up, causing the row to overflow to the next line and breaking the layout.

    I’ve kludged a solution by adding “ul.upcoming-events > li:nth-child(5) {display:none;}” to my stylesheet, but figured there might be a more permanent solution on your end for next release?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Yes, that’s correct. What “show today’s events” does is it adds today’s events into the list of events. So you’re still showing 4 upcoming events, and you’re *also* showing today’s events.

    Thread Starter sarahphymn

    (@sarahphymn)

    Interesting, so this is expected behavior. I’d have thought that “show this many upcoming events” would be the total number someone wanted shown, and the checkbox was just for whether the first one is today’s or not. (Otherwise, you’re always running the risk of saying you want your next 4 events, but getting your next 5 instead.)

    I guess I’ll stick with my kludgey solution for now. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget bug — If event starts today, “show 4” actually shows 5’ is closed to new replies.