Home › Forums › Calendar Products › Events Calendar PRO › Photo view not rendering properly on mobile
- This topic has 9 replies, 3 voices, and was last updated 9 years, 4 months ago by
Rick Quatrone.
-
AuthorPosts
-
December 28, 2016 at 11:37 am #1211174
Rick Quatrone
ParticipantHi there. On photo view there is a big space next to the photo. For some reason the photo does not fill in the whole row or the calendar is not centering the image. This only appears when the website renders on a mobile device/smaller screen size. It renders fine on desktop. Is there any way to fix this?
December 28, 2016 at 11:39 am #1211175Rick Quatrone
ParticipantHere is a link to the website http://a74.405.myftpupload.com/
December 29, 2016 at 9:00 am #1211426Geoff
MemberHey Rick,
Thanks for getting in touch! I love that your venue is hosting Snoop Dogg — that’s awesome. š
Will you please try adding this CSS snippet to your theme’sĀ style.css file or on the Appearance > Customize > Additional CSS screen?
.tribe-events-list .tribe-events-event-image { width: 100%; }Here’s a screenshot of how that looks when I tested it out on your site. does it do the trick for you as well? Please let me know.
Cheers!
GeoffDecember 29, 2016 at 11:36 am #1211494Rick Quatrone
ParticipantHi Geoff,
Thanks for replying!! We were really excited for Snoop Dogg!
I added the CSS and it didn’t work. The css didn’t change it for photo view on the home page or list view on the events page.
To clarify I only need to fix the issue on photo view. It was like that before I did any customizations. I am still customizing list view
December 29, 2016 at 11:39 am #1211495Rick Quatrone
ParticipantI forgot to mention the image became 100% when it was in desktop view, but on a mobile device it wasn’t 100%
December 29, 2016 at 12:28 pm #1211508Geoff
MemberHey Rick,
Thanks for following up!
Will you please try adding this CSS to the mix?
.tribe-events-list .tribe-events-event-image img { width: 100% !important; }Even though the CSS looks like it’s scoped to the List View, that’s what Photo View uses in small screens. š
It’s worth noting that the events on the homepage look like a custom widget or feed — so you may need to write something else in order for the change to take effect there as well.
Cheers!
GeoffDecember 30, 2016 at 4:46 am #1211643Rick Quatrone
ParticipantGeoff it worked!! Thank you very much for the help!
Have a Happy New Year!
Rick
December 30, 2016 at 4:47 am #1211644Rick Quatrone
ParticipantResloved
December 30, 2016 at 7:03 am #1211666Geoff
MemberRight on! I’m so glad to hear everything is working smoothly and I appreciate you following up to let us know. Definitely keep us posted if any other questions come up and we’d be happy to help. š
Cheers and happy new year to you as well!
Geoff
-
AuthorPosts
- The topic ‘Photo view not rendering properly on mobile’ is closed to new replies.
