Simply pressing the WordPress align center button does not work for Twitter, Spotify, Instagram, and Video embed. Most of us aren’t interested in coding text every single Tweet and Instagram embed, so we’ve provided the fastest, easiest solution that will align center every single tweet, and instagram post you have on your entire website, globally. For the simple Spotify solution click here.
If you’re self hosted through WordPress.org or using the free WordPress.com as long as you have access to your edit CSS through appearance, the following coding should work. Visit your Wp-Admin Dashboard, scroll to Appearance, and click Edit CSS, Copy, Paste, and Save!
.twitter-tweet {margin:auto;}
.instagram-media{ margin: 15px auto ; }
If you upload video to your WordPress media files and embed the video in your post we have a solution for you too. Usually Facebook, and Youtube videos match the width of your post box therefore you wouldn’t need to center it. However if you do, simply use this method.
.wp-video { text-align: center; margin-left: auto; margin-right: auto; }
Now every time you copy and past a Tweet or Instagram post you do not have to manually align center, it automatically does it for you! Now you can focus on how great your articles should be! View examples below.
© 2017 Tahir Register TheBLACKMedia On Twitter
Amanda Seales does not deserve the onslaught of misinformed, hyperbolic, and assumptive articles written for…
Jada Pinkett Smith reveal she and Will Smith have been separated for 7 years, but…
Today we celebrate India Arie's birthday and her impact on The BLACK Media, and it's…
The 5th annual National Melanin Day founded by Tahir Coleman Register sponsored yearly by TheBLACKMedia,…
The BLACK Media returns with new articles, new exclusives, and a new energy, but with…
Aliah Sheffield's new single "I Don't Like People" music video and...
We Use Cookies