4 Responses

  1. Ajax Control Toolkit Supports jQuery - Daily Six Pack: October 2, 2013

    […] How to center align embedded tweets, Josh Benson […]

  2. 醉拳
    醉拳 at |

    WordPress provides for a more comfortable way to embed tweets, unfortunately, in that case you don’t get to see the blockquote element in your text editor, so you cannot add an extra class to your html.

    So, how about that?

    Reply
    1. Don_Alejandro
      Don_Alejandro at |

      If you want to automatically center all embedded tweets on your website, simply add the following to the css code for your site:

      .twitter-tweet {
      margin:auto;
      }

      Reply
  3. Roberto
    Roberto at |

    it works fine in a simple tweet, but it doesnt work when the tweet have a picture

    Reply

Leave a Reply