MEC images in event posts and sidebars

Hi

When I create an event in MEC I am setting a featured image. This image appears to be used both when the event is displayed and also when event is in a sidebar.

My problem is that the image in the side bar is then cropped to fit. If I create the image to fit the sidebar, then the image in the posts not at a good resolution.

I tried adding the correct image to the event post, but them and getting both images being displayed.

Is there a way to switch of the featured image from appearing in the post please?

Thanks

Hi @Aph100,

Thanks for posting in.

I checked and it’s cropped to 150x150 which is enough for 60x60 rendering. The image in your sidebar is just 60x60, would you mind providing more information of how you wish to display it? Like a full-width image in the sidebar? But regardless, the size is created by MEC itself, I checked the settings and it’s not changeable. Perhaps it depends on the skin being used.

Thanks!

Hi Rad - thanks for your help.

I am happy to upload the image in two sizes, one at 150x150 and one at the larger size. If I set the Featured image using the 150x150 it appears OK in the sidebar listing.

I was then going to embed the larger image into the actual event post so that it appears at the higher resolution. However when I display the event post, the featured image is also displayed. What I am trying to do is try and use some code to stop the featured image being displayed on the post page as well.

Hope this might help?

Alex

Hello Alex,

To hide the featured image of the single event page, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.mec-single-event .mec-events-event-image {
    display: none;
}

We would loved to know if this has work for you. Thank you.

Hi

Once again thanks for your support and help - you guys are the tops !

Alex

Hey Alex,

You’re welcome! We are just glad we were able to help you out.
We really apppreciate for letting us know that it has worked for you.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.