Support

Home Forums Event Espresso Premium Calendar Thumbnails TOO BIG after upgrade

Calendar Thumbnails TOO BIG after upgrade

Posted: December 20, 2013 at 5:43 pm


dcouto

December 20, 2013 at 5:43 pm

I have them as 25px by 25px but on the calendar they are huge. I have tried to adjust the media settings as per a previous post, to no avail. Can you help? Thanks.
http://realworldtextures.com/wordpress/schedule/


Seth Shoultes

  • Support Staff

December 21, 2013 at 12:02 am

I will bring this up with the developers of this add-on. If you like, you can try overriding the image sizes using css.

Something like this in your theme css file:
#espresso_calendar .thumb-wrap img {
width: auto;
}


dcouto

December 21, 2013 at 2:45 am

That did not work. Anything else I can try?


Dean

December 22, 2013 at 10:53 pm

Hi,

That should of worked – http://d.pr/i/WUzP – you could try adding !important after the auto, like so

#espresso_calendar .thumb-wrap img {
width: auto !important;
}


dcouto

December 23, 2013 at 12:31 am

That didn’t work. The calendar looks terrible and my client is complaining. Is there anything else I can do?


Dean

December 23, 2013 at 12:49 am

One option would be to use larger images, but I understand this may not be desired.

I am very confused as to why the CSS isn’t working for you, as my tests show it will revert the images back to their original size.

Are you adding the CSS to the bottom of the themes style.css file or via a plugin such as My Custom CSS or another way?


dcouto

December 23, 2013 at 12:55 am

The theme has an option for adding CSS and that’s what I’m using. I just followed your suggestion and added it directly to the theme css and it works! BUT the calendar boxes are still the same size as they were when they had the large images.

http://realworldtextures.com/wordpress/schedule/


Dean

December 23, 2013 at 1:50 am

Hi,

The boxes wont change size, the CSS was just to stop the images from being blown up.

The only way to decrease the cell size is to decrease the overall size of the calendar.

You could achieve it by wrapping the calendar shortcode in some HTML in the post, but you would have to also remove some of the header elements as these would extend past the calendar (depending on what size you make the calendar)

This would need to be added to the TEXT tab in the post/page

[ESPRESSO_CALENDAR]


dcouto

December 23, 2013 at 2:00 am

Everything was working perfectly before I upgraded. I just want things to return to how they were.


dcouto

December 23, 2013 at 2:10 am

I just dropped $200 on upgrading this plugin and now I find myself wasting valuable time to fix something that WASN’T broken before I upgraded. Nebulous answers aren’t helping. Please give me a piece of code, tell me where to insert it so that I can move on. Thank-you.


dcouto

December 23, 2013 at 2:42 am

I just removed and image and the box is back to ‘normal’ size. This is definitely an image-related issue.

http://realworldtextures.com/wordpress/schedule/


Seth Shoultes

  • Support Staff

December 23, 2013 at 9:16 am

Was it just one image that was causing the issue?


Josh

  • Support Staff

December 23, 2013 at 9:34 am

When you go to upload the image when you create/edit the event, are you setting the image size to Thumbnail or something else?


dcouto

December 23, 2013 at 4:17 pm

The image size is 25px x 25px and the thumbnail option is not available once the image has uploaded. I just removed one image to show the calendar shrinks without an image in it. I just want the calendar to behave like it used to, but with the small image.


Josh

  • Support Staff

December 23, 2013 at 8:54 pm

Hi there,

Can you go to the WordPress Media Settings and check the thumbnail size option? You can even try setting it the width and height to 25px by 25px, then set it to crop the thumbnail to exact dimensions, then save.

After updating the WordPress Media Settings, you can go in to edit an event and remove the featured image, update the event, then re-upload the featured image.


dcouto

December 24, 2013 at 1:54 am

Tried this, no change.


Josh

  • Support Staff

December 24, 2013 at 10:01 am

Can you send a copy of the WordPress theme to support@eventespresso.com so we can investigate further? Thanks.


Josh

  • Support Staff

December 26, 2013 at 12:45 pm

Hi Daniel,

Have there been any modifications done to this theme or is there a plugin installed on this site that may be changing the default WordPress media loader’s behavior?

The reason I ask is I uploaded the copy of the theme you sent on a fresh installation of WordPress and when I go to upload a featured image in the event editor it has the thumbnail image size option available for selection. Here is a screenshot.

If not, can you try going into the event, removing the featured image for the event, save the event, then edit the event again and re-upload the thumbnail image? This time there should be a thumbnail option set at 25×25 if you’ve updated the media settings. After you upload the image you will need to save the event.

With the calendar width too big, it looks to me that the calendar page is set to be full width in the page’s Appearance settings that the WP theme provides. You can make the calendar narrower by setting the calendar page to a non-full-width page layout setting like this.

If you want to keep the full width page setting and make it so the calendar does not fill that width, you can add this bit of custom CSS to restrict the width of the calendar:

.entry-content #espresso_calendar {
max-width: 400px!important;
}

The above will restrict the calendar’s size to 400 pixels wide, which you can tweak to a wider or narrower amount if need be.

The support post ‘Calendar Thumbnails TOO BIG after upgrade’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso