Home › Forums › Ticket Products › Event Tickets Plus › Calendar Only Shows 6 Days on Mobile Version, Table Cut Off
- This topic has 24 replies, 2 voices, and was last updated 10 years ago by Casey.
-
AuthorPosts
-
April 30, 2014 at 4:00 pm #146842jebs38Participant
My calendar view in mobile is only showing 6 days. The calendar is cut off.
John
May 1, 2014 at 6:25 am #147337CaseyParticipantJohn,
Thanks again for getting in touch. This issue you’re experiencing is because of a style override you performed on the #main element, which is forcing it to a width of 710px. If you add the following style rule below that one, then it should fix the issue:
.tribe-mobile #main {
width:100%;
}
Give that a shot and let me know if it does the trick. Thanks! 🙂
-Casey-
May 1, 2014 at 4:20 pm #147781jebs38ParticipantCasey, I cannot get this one to work. I’ve tried everything.
May 1, 2014 at 6:41 pm #147861jebs38ParticipantI think that I need to start over on my style sheet because it is so old.
May 2, 2014 at 8:02 am #148172CaseyParticipantJohn,
Yes, you’ll definitely want to make sure you’re overriding the latest styles. Just let me know if you need further guidance here. Thanks! 🙂-Casey-
May 2, 2014 at 8:37 am #148237jebs38ParticipantCasey, I looked over the tutorials and I find them a bit lacking. There are so many stylesheets now, I don’t know where to start. Which one do I start with? Also, does this css code still work and would it be influencing the display on an android phone:
/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {
body { min-width: 150px; }
.tribe-events-thismonth, .tribe-events-othermonth { min-width: 50px; max-width:60px; }
#tribe-events-calendar-header { padding-top: 3em; }
.tribe-events-calendar-buttons { top:0; left:0; }
.tribe-events-calendar-widget td a.tribe-events-mini-has-event { cursor: pointer; }
}May 2, 2014 at 11:25 am #148384CaseyParticipantJohn,
When I plugged in the styling rule that I showed you up above, I was able to resolve the issue. Were you adding the rule to the end of your tribe-events stylesheet, or your theme stylesheet?May 2, 2014 at 12:49 pm #148449jebs38ParticipantI have that code in both spots now and with no other code in the tribe-events.css file. This is the result:
http://bestofnj.com/wp-content/uploads/2014/05/screen-1aa.jpg
http://bestofnj.com/wp-content/uploads/2014/05/screen-1aa2.jpgJohn
May 2, 2014 at 12:52 pm #148451jebs38ParticipantThat page is @:
http://bestofnj.com/events/monthMay 2, 2014 at 4:41 pm #148585jebs38ParticipantCasey, until I can get the Calendar display issue sorted out, I have reverted the changes I made back to the former state. Your style rule is simply not helping this issue on my computer or my phone and you are gone for the weekend.
We will try again next week.
May 7, 2014 at 7:47 am #152814CaseyParticipantJohn,
Can you try adding the !important declaration to the rules I sent? Like this:
.tribe-mobile #main {
width:100% !important;
}
Give that a try and let me know if it does the trick. Thanks! 🙂
-Casey-
May 8, 2014 at 5:53 am #153754jebs38ParticipantCasey,
I tried that and it did NOT work. I also tested the pages on a Kindle Fire tablet and there is some quirk in the navigation bar that makes it never go away. I mention this in this context because it seems that the mobile version of the page is showing a wider space on the left gutter or border that might be allowing for a space for the mobile nav bar. Also on the mobile version the nav bar does not fit the space that is meant to contain it.
May 8, 2014 at 7:20 am #153805CaseyParticipantJohn,
I’m seeing some javascript errors on your site (screenshot) that is causing the .tribe-mobile class not to get added to the <body> tag, which is why the styles I’ve shared above aren’t working for you.Can you try deactivating all other plugins to see if that resolves the errors? If so, then try reactivating them one-by-one to determine if another plugin is the culprit. Give that a try and let me know what you discover.
Thanks! 🙂
-Casey-
May 8, 2014 at 1:24 pm #154084jebs38ParticipantCasey,
I have deactivated all the plugins and it is still not working. Is there some way to see where that jquery.ba-resize.min.js is coming from?
Are you seeing those same errors on this staging site? http://bestofnj.staging.wpengine.com/events/month
May 8, 2014 at 3:03 pm #154161jebs38ParticipantCasey,
The script that is causing this error is in Events Calendar itself! It is located @: /wp-content/plugins/the-events-calendar/vendor/jquery-resize/jquery.ba-resize.js. It is not some script from some other plugin.
-
AuthorPosts
- The topic ‘Calendar Only Shows 6 Days on Mobile Version, Table Cut Off’ is closed to new replies.