Support

Home Forums Events Calendar Add-on Control placement of featured image

Control placement of featured image

Posted: April 17, 2016 at 6:05 am


lesliemcc

April 17, 2016 at 6:05 am

I’d like the featured image to appear right justified in the Event page. Currently it displays left justified, or, if it’s too large, it is getting cropped off. Do I have control of how the featured image (I have to include this in the Event settings because I need it to display in the calendar view) is justified on the page? Thank you.


Tony

  • Support Staff

April 18, 2016 at 2:50 am

Hi Leslie,

The feature image is controlled by your theme.

We should be able to provide some custom CSS you can apply to center the image if you can link us to an event page we can view it on.


lesliemcc

April 18, 2016 at 2:17 pm

Here’s a link to the event page: http://creativecommunityctr.com/events/spring-has-sprung-may10/

Thank you!


Tony

  • Support Staff

April 19, 2016 at 2:22 am

Hmm, ok.

Moving the image can be done using some CSS, just something like this:

.entry-meta.single-post-thumbnail img {
    margin: 0 auto;
    display: block;
}

Will center the image.

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.

However the cropping is likely being controlled by your theme. There’s an option within:

Settings -> Media -> ‘Crop thumbnail to exact dimensions (normally thumbnails are proportional)’

Which may allow you to then regenerate the thumbnails based on the new settings (simple changing the setting does not fix the images, you need to then regenerate the images based on the new settings) however its more likely that you theme is setting the cropping when setting the thumbnail size.

Are you using thumbnail images within other pages of your site?

  • This reply was modified 8 years ago by  Tony.

The support post ‘Control placement of featured image’ 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