Modern Events Calendar Single event

On a single event post, the Featured Image is being displayed at the top of the page ( as per the example page detailed below). I would like to switch this off. I cannot simply remove the Featured Image as it is used elsewhere.

Is this possible please?

Thanks

Alex

Hi Alex,

Thanks for writing in! Could you please try adding the following JavaScript code into your X -> Theme Options -> JS area and see if that helps.

jQuery(function() {
 jQuery( ".single-mec-events .mec-events-event-image" ).insertAfter( ".single-mec-events .mec-single-title" );
});

Thanks!

Hi and thanks for your help. The code you suggested move the image to below the event title. What I want to do is to remove the image from being displayed.

Is this possible?

Thanks

Hi Alex,

Sorry, I misunderstood your requirement. Please remove that JavaScript from your JS area.

Then add the following CSS rule into your X -> Theme Options -> CSS area.

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

Hope that helps.

Thanks that worked. Realise now why it wasn’t working for me !

A

Glad we could help, Cheers!

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