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
The 6th annual National Melanin Day October 1st 2024 relaunches the 2022 documentary with a…
Caresha 'Yung Miami' Brownlee does not deserve the cruelty she's been receiving over being Diddy's…
Tyler Perry's unfair critiques have plagued his career in the press, but not the numbers.…
A full review of Vena E Excell, aka Pretty Vee's debut sold out solo comedy…
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…
We Use Cookies