karen.garrattley

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Twitter Posts not showing #587
    karen.garrattley
    Participant

    Hi Rebecca,
    Still having trouble with the Twitter widget. I’ve followed the instructions and added the width and height manually but it ignores it completely. Accordingly to the instructions it should automatically adjust the width as it needs but this doesn’t happen either. “by default the widget will shrink to the width of its parent element in the page.”

    “Embedded timelines are flexible and adaptive, functioning at a variety of dimensions ranging from wide to narrow, and short to tall. The default dimensions for a timeline are 520×600px, which can be overridden to fit the dimension requirements of your page. Setting a width is not required, and by default the widget will shrink to the width of its parent element in the page. For example, if you paste your embed code in a div that is 300px wide, the timeline itself will be 300px wide. You can set the dimensions explicitly by using the width and height HTML attributes:

    <a class=”twitter-timeline” width=”300″ height=”500″ href=”https://twitter.com/twitterapi&#8221; data-widget-id=”YOUR-WIDGET-ID-HERE”>Tweets by @twitterapi</a>

    The minimum width of a timeline is 220px and the maximum is 520px. The minimum height is 350px.”

Viewing 1 replies (of 1 total)