Support » Fixing WordPress » Center featured image

  • Please can you tell me how I can center the featured image on my posts at 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your images are given the classes: alignleft featured_image wp-post-image

    Change the first class to aligncenter

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Center featured image’ is closed to new replies.