Home › Forums › Calendar Products › Events Calendar PRO › Image size is pixelated
- This topic has 6 replies, 2 voices, and was last updated 8 years, 3 months ago by
christchurch1.
-
AuthorPosts
-
January 2, 2018 at 11:51 am #1416388
christchurch1
ParticipantHello and Happy New Year!
I researched the forum and could not find the answer to my question…
The images on a single event page is pixelated. I went into WP dashboard, settings, image and changed the medium size to my designated size but nothing changed.Thank you in advance for your help!
SharmaneJanuary 2, 2018 at 11:53 am #1416391christchurch1
ParticipantBelow is a link that shows an example of the pixelated image:
https://christ-church.net/event/ephiphany-pageantdinner/January 2, 2018 at 12:51 pm #1416433Jennifer
KeymasterHi Sharmane,
Happy New Year!
I’m sorry the image isn’t showing up as nicely as it could…I took a look at the event you linked to, and I would recommend either adding some CSS like the following (see screenshot):
.tribe-events-event-image {
text-align: center;
}.tribe-events-event-image img {
min-width: initial;
}Or, you could change the image size directly in the template for single events. If you want to go this route, our themer’s guide has instructions on how to copy the template into your child theme for editing. The template can be found at wp-content/plugins/the-events-calendar/src/views/single-event.php, and the line you’ll want to edit it is:
You can change “full” to a smaller size (see this article for more info on the sizes available).
We are limited in the amount of support that we can provide for customizations like this, but if you get stuck or have any questions, please let me know!
Thanks,
Jennifer
January 2, 2018 at 1:06 pm #1416445christchurch1
ParticipantFabulous! I added the CSS you recommended. Since this is now added, do I need to size all of my images the same or will the uploaded image adjust to the particular size?
Thanks!
January 2, 2018 at 5:37 pm #1416619Jennifer
KeymasterGreat! If you don’t size them the same, they may display at different widths…you can set a specific width or max-width if you would like using:
.tribe-events-event-image img {
max-width: 50%;
}
or
.tribe-events-event-image img {
width: 50%;
}January 24, 2018 at 8:36 am #1434756Support 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 ‘Image size is pixelated’ is closed to new replies.
