Center featured image (4 posts)

  1. GhostStorm
    Posted 1 year ago #

    Please can you tell me how I can center the featured image on my posts at http://ghoststorm.co.uk I tried adding this to custom css thing but it didnt make any difference.

    .post_grid_image img {
    position: relative;
    left: 60px;

    I also would like the featured images to be a certain size when people view the post how is this done?

  2. Dave Naylor
    Posted 1 year ago #

    Your images are given the classes: alignleft featured_image wp-post-image

    Change the first class to aligncenter

  3. GhostStorm
    Posted 1 year ago #

    Where should this be done?
    Also please remember its for the post itself and not for the front page where it shows a list of posts.

  4. Dave Naylor
    Posted 1 year ago #

    Looking at your theme's post-single.php template file, you'll see this code:

    get_option('featured_image_position_single') . " featured_image")

    So, that's going to be configurable in your theme's admin.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.