Modern Events Calendar carousel Breakpoints

Hi

I’m trying to adjust the breakpoints for the Modern Events Calendar Carousel, so that it doesn’t display the mobile view on tablet. I’ve found the following code in the MEC documentation, but I’m not entirely sure whether it’s the right one to adjust the carousel view and if so, where in my child theme I need to put it:

function customize_tribe_events_breakpoint() {
return 600;
}
add_filter( ‘tribe_events_mobile_breakpoint’, ‘customize_tribe_events_breakpoint’ );

Would you be able to advise. Many thanks

Hey @neilandroid,

We could point you to the right direction but just note that we can’t assist in case your custom code does not work as intended. Please see our Terms

That code should go to your child theme’s functions.php. If you’re using our starter child theme, put your code under the Additional Functions like this:

If you experience an issue with that code, please contact the code provider.

Thank you for understanding.

Thanks and I completely understand.
I’ve just worked out that I grabbed the code from the wrong ‘events calendar’ documentation… my bad, tired eyes! I’m using the bundled version of Modern Events Calendar and I can’t find anything within the settings to change breakpoints, nor can I find anything on their support forum. Would you be able to advise or point me in the right direction please?

Hey @neilandroid,

Regretfully, there’s no option for that in MEC. For this, you would need to consult with a third party developer to change the breakpoints for you.

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.