WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Embed
[resolved] Increasing the max-width from 550px to something larger? (2 posts)

  1. hobbsy
    Member
    Posted 2 years ago #

    Firstly, thanks for writing the plugin Konstantin.

    Is it possible to over-ride the max width setting of 550px?
    If possible I'd like to use 610px?

    I notice Otto here mentions a solution in the comments of his blogpost, but I'm not sure how to implement it?

    http://ottopress.com/2011/twitter-adds-oembed-adding-it-to-wordpress-with-a-snippet/

    http://wordpress.org/extend/plugins/twitter-embed/

  2. Konstantin Kovshenin
    Member
    Plugin Author

    Posted 2 years ago #

    Hobbsy, you're welcome! Twitter has a max-width for oEmbed data which is 550px, that's why you can easily go anywhere lower than that, but not wider. Otto's snippet in the comment replaces the width of the embed iframe by filtering the oEmbed result. You can try it that way, or you can go with CSS, just make sure you use !important rules.

    I also think wider tweets don't look that neat :) Thanks for your feedback!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic