• Resolved Martin Taylor

    (@docdunning)


    I’m really struggling with version 5 of this plugin, to get it either to reduce the mobile breakpoint, or to remove it altogether. Neither seems to have any effect.

    I’ve just created a new vanilla WP site. The only plugin is The Events Calendar (V5.0.0.1). I’ve created a child theme from TwentyTwenty. The only entry in functions.php is this:

    add_filter( ‘tribe_events_kill_responsive’, ‘__return_true’);

    If I use the Default Events Template, which is full width, it shows the event names at screen widths greater than 768. But anything below that, and the mobile view kicks in, with blue bullet points instead of event names.

    Why? Surely the point of the “kill_responsive” filter is to stop that behaviour, isn’t it?

    I’ve had no joy either with the “tribe_events_mobile_breakpoint” filter. No value that I’ve tried has any bearing on when the mobile view switches on.

    I’ve tried using the TwentyTwenty Default Page Template, but that *always* shows the mobile view. I can’t get that to show the event titles at all.

    I want to be able to have event titles showing at container widths lower than 768.

    Has anyone else managed to get this working? I’d love to know how … please!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi @docdunning,

    First I would like to say that I am super happy to see that you are working with V5 customizations already.

    We made some major changes to how all the code works, and most of the old Hooks are no longer, specifically because we wanted to make sure that for our existing customers it didn’t break by accident on an edge case that our team couldn’t test or catch.

    Currently, the new views engine runs all inside of the the-events-calendar/src/Views/V2 folder.

    For breakpoints specifically, you will find that we two filters as

    tribe_events_views_v2_view_breakpoints
    tribe_events_views_v2_view_{$view_slug}_breakpoints

    Article with a bit more on it:
    https://theeventscalendar.com/knowledgebase/k/customizing-styles/#breakpoints

    Let us know if you have any problems with any of the above.

    best Regards,

    Thread Starter Martin Taylor

    (@docdunning)

    Thanks for the help, Gustavo. That works ??

    OK, the view needs a few more changes to look good when it’s not full width, but I can do that. At least I can still see the names of the events in the calendar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Breakpoint filters do not work’ is closed to new replies.