How to Center Featured Image in Posts

Apologies as I’m assuming this is a very elementary question, however I’m new to website design and creation. Is someone able to tell me how I can center a featured image in a post? Right now the image is aligned left and I’m not sure how to fix it. Thanks in advance for your reply.

Hi @jhissa13,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Dazzling Options -> Other -> Custom CSS

header img.thumbnail.wp-post-image {
    margin: 0 auto;

Best Regards,

Perfect, worked once added. Thank you very much for the help!

You are most welcome here :slight_smile: