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

  1. hobbsy
    Posted 4 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?



  2. Konstantin Kovshenin
    Plugin Author

    Posted 4 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

  • Twitter Embed
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic