Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi ByMayke

    Can you please tell me which theme are you using.OR
    You can find this code how is your thumbnail image are pulled.
    The below code will make you thumbnail aligncenter.

    <?php the_post_thumbnail( 'thumbnail', array( 'class' => 'aligncenter' ) ); ?>
    Note: Please customize files of child theme, so your changes will not overwrite on theme update.

    Thank You!!!

    Thread Starter Mayke

    (@bymayke)

    Hi Sanjong,

    I am using the theme rachel from bluchic.com
    I have tried the code into the custom css field but it did not do the trick 🙁

    On page 1 I have set the images in the posts itself to align center but on page 2 you can see that everything is aligned left. And the code did not work for this..
    I just want the featured images to align center by default..
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Featured images in center’ is closed to new replies.