How to Center Your Instagram Embeds

A little code goes a long way.

In this article, I share how to center align embedded Instagram images in your blog post.


 

If you’ve ever tried embedding an Instagram post into your blog, then you might realize that the native code automatically aligns your Instagram photo to the left.

To some, this isn’t a big deal but if you’re anything like me, then this can be a tinsy bit maddening. Thankfully the fix for this is simple!

Copy and paste the following code into your blog post, then replace “Paste the embed code that you copied from Instagram here.” with the embed code that you copied from Instagram.

 

<div align="center">

Paste the embed code that you copied from Instagram here.

</div>

 

Doing this will make your embeds go from this:

To this:

—–

Let’s breathe a sigh of relief together.

Have questions about other quirky web or coding issues? Ask away in the comment section.

 

SaveSaveSaveSave

SaveSave

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like