-
AuthorPosts
-
April 19, 2016 at 4:34 pm #617531
I’m working on a site running Enfold with the Pro version of The Events Calendar and have a couple small conflicts that I’m having difficulty resolving.
1. The hamburger menu disappears on mobile when the month view is loaded: http://quicklaunchweb.com/events/month/
2. The days of the week in the same view get mashed together in the same view. I edited the plugin files to change the names of each day to abbreviations per these instructions, but it didn’t work.
Any feedback is welcome if there’s an obvious fix for either of these issues.
Thanks!
April 22, 2016 at 6:44 am #619552Hey wrsmiles!
Thank you for using Enfold.
1.) There is an error coming from a plugin. Please try to deactivate all plugins except for the events calendar then check the page again.
tribe-events-ajax-calendar.min.js?ver=4.1.2:1 Uncaught TypeError: j.bootstrapDatepicker is not a function2.) Please add this in the functions.php file to replace the name of day with its abbreviation:
// day add_action( 'wp_footer', 'ava_custom_script_day' ); function ava_custom_script_day() { ?> <script type="text/javascript"> (function($){ function a() { if($('#header').css('position') != 'relative') return; $('.tribe-events-calendar > thead > tr th').each(function() { var abbr = $(this).data('day-abbr'); $(this).empty(); $(this).text(abbr); }); } a(); })(jQuery); </script> <?php }Regards,
IsmaelApril 22, 2016 at 9:19 pm #620224Thanks Ismeal!
#1: The only active plugins are The Event Calendar and its Pro add-on. Deactivating the Pro add-on didn’t fix it. Do you have any other ideas?
#2: Your suggestion worked beautifully. No problems at all.
April 27, 2016 at 8:20 am #622826 -
AuthorPosts
- You must be logged in to reply to this topic.
