Home › Forums › Calendar Products › Events Calendar PRO › Mobile Calendar Recurring Events
- This topic has 13 replies, 2 voices, and was last updated 6 years, 7 months ago by Casper Blackwell.
-
AuthorPosts
-
August 13, 2017 at 8:32 pm #1334783Casper BlackwellParticipant
Hello,
I have recurring events hidden in the calendar view using this CSS:
.tribe-events-month .tribe-recurring-event-child {display:none}
That is working fine, but in calendar view on an iPhone there are dot’s showing on the days of the recurring events, (see iPhone image), the event details are hidden.
Is there a way to remove/hide the dots that are signifying the days recurring events are on?
Please advise.
Cheers,
CasperAugust 14, 2017 at 6:15 am #1334902CourtneyMemberHi Casper
To hide the dots, please try adding following code to your child theme, or in Appearance Β» Customize Β» Additional CSS:
.tribe-events-calendar .tribe-events-has-events:after {display: none;}
Let me know if that works for you.
Thanks
Courtney πAugust 14, 2017 at 10:46 am #1335052Casper BlackwellParticipantHi Courtney,
That seemed to hide all of the dots, including the first event of a recurring series (which are the dot(s) I would like to be visible). See screen shots below.
Please advise.
Thanks in advance,
CasperAugust 15, 2017 at 7:38 am #1335444CourtneyMemberHi Casper
Can you remove the earlier code so that the dots are back on the mobile view? I’ll see if I can find a specific way to remove just recurring events then.
Thanks
Courtney πAugust 15, 2017 at 10:58 am #1335627Casper BlackwellParticipantHi Courtney,
I’ve removed the CSS.
Cheers,
CasperAugust 17, 2017 at 6:21 am #1336710CourtneyMemberHi Casper
This will take a few steps to achieve. First, add this snippet to either your child themeβs functions.php file or use the My Custom Functions plugin:
function removeDot() { if (!is_admin()) { wp_enqueue_script('jquery'); wp_enqueue_script('recurring-dot', get_bloginfo('template_url') . '/js/remove-recurring-dot.js', array('jquery'), '', false); } } add_action('init', 'removeDot');
Next, go to your server file manager wp-content/themes/yourtheme/js (might need to make the /js folder) and add this:
https://gist.github.com/mia-caro/c2985b331a999e593d422f1721660bb1
Finally, add the following code to your child theme, or in Appearance Β» Customize Β» Additional CSS:
.tribe-events-calendar .tribe-events-has-events.hide-dot:after { display: none; }
Please let me know if this works for you.
Thanks
Courtney πSeptember 5, 2017 at 10:59 am #1345018Casper BlackwellParticipantHowdy,
I did the above, but is seems that the CSS portion:
.tribe-events-calendar .tribe-events-has-events.hide-dot:after { display: none; }is hiding the dots for the first instance of a class as well, so the class doesn’t show at all in month view on mobile.
Please advise.
Thanks in advance,
CasperSeptember 7, 2017 at 6:25 pm #1346331CourtneyMemberHi Casper
So sorry for the delayed response. I’m just returning after a family vacation. I’ve passed this information along to one of our teammates to help me look into it further. We hope to have a response ready for you early next week.
Thanks
Courtney πSeptember 7, 2017 at 8:11 pm #1346365Casper BlackwellParticipantThanks for the update Courtney π
I’ll remove this CSS for now so the initial class shows in month view:
/* Hide Recurring dots on Mobile CURRENTLY TESTING */
.tribe-events-calendar .tribe-events-has-events.hide-dot:after { display: none; }Cheers,
CasperSeptember 11, 2017 at 9:44 am #1347568CourtneyMemberHi Casper
Now we have a better idea of what you want and have had a chance to review in a little more detail, I’m afraid to say this is actually beyond what we can help you with directly. Unfortunately, though this seems simple on the surface, it’s actually quite tricky to implement in practice. For that reason, it’s something you’d need to drive forward under your own steam.
You could check in with our Find A Customizer if you are wanting to hire someone to take this on.
I wish I had a more clear answer to share here.
Thanks
Courtney πSeptember 11, 2017 at 10:01 am #1347578Casper BlackwellParticipantThanks for looking into this Courtney.
Is there a simple way to allow month view on the desktop, but disable on mobile? This would solve the issue of the “dots without details” on the mobile view.
For now I’ve turned of month view in the settings.
Thanks in advance,
CasperSeptember 12, 2017 at 8:43 am #1348039CourtneyMemberHey Casper
You can head to Events Β» Settings Β» Display Β» Default mobile view and change the mobile view to be different than the standard view on the desktop.
Thanks
Courtney πOctober 4, 2017 at 9:37 am #1359025Support DroidKeymasterHey 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 ‘Mobile Calendar Recurring Events’ is closed to new replies.