Home › Forums › Calendar Products › Events Calendar PRO › Problem with desktop and mobile view
- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by
Christoph Morre.
-
AuthorPosts
-
October 12, 2017 at 7:05 am #1362562
Christoph Morre
ParticipantWhen changing to mobile view the view does not switch to List view, although it is set up.
Where do I have to enter this code:
from -> https://theeventscalendar.com/knowledgebase/calendar-displays-mobile-view-desktoptablet-screen-sizes/function customize_tribe_events_breakpoint() {
return 600;
}
add_filter( ‘tribe_events_mobile_breakpoint’, ‘customize_tribe_events_breakpoint’ );Thank you very much
ChristophOctober 13, 2017 at 10:19 am #1363393Jaime Marchwinski
KeymasterHi Christoph,
Thanks so much for reaching out!
You can add that code to your theme’s functions.php file in order to change the width at which the responsive breakpoint is activated.
I hope this helps, let me know how it goes!
Thanks,
Jaime
October 14, 2017 at 2:08 pm #1363818Christoph Morre
ParticipantHello Jaime,
I’m sorry, but it does not work. At which position do I have to enter the code?
Best regards
ChristophOctober 16, 2017 at 5:33 am #1364079Jaime Marchwinski
KeymasterHi Christoph,
You can add that code towards the top of your functions.php file, right after the initial <?php. You may want to check that it is working in a private browser window, as this does not have any browser history and can accurately see changes that you make.
Let me know how it goes!
Thanks,
Jaime
October 17, 2017 at 3:00 am #1364477Christoph Morre
ParticipantHello Jaime,
as you can see, I entered the code after <?php – but I does not work.
This is the link to the event-site: http://stieglerhaus.at/veranstaltungen/
Please try it on your desktop and on the mobile phone.
Thank you very much
ChrisophOctober 17, 2017 at 6:13 am #1364567Jaime Marchwinski
KeymasterHi Christoph,
I’m sorry that this isn’t working for you so far. There could be a few reasons why this is happening, so let’s try to explore them.
As a next step, let’s try to rule out if there is some type of conflict at play.
This is usually because of:1. A conflict with another plugin
2. A conflict with your WordPress theme
3. A template customization for the Events Calendar that requires updating
When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.
A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.
The next step would be to go through our testing for conflicts procedure and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
But, before you do that, there are 2 things I would advise:
1. Make a backup of your database
2. Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)
Let me know how that goes.
Thanks,
Jaime
November 8, 2017 at 8:35 am #1378044Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Problem with desktop and mobile view’ is closed to new replies.
