Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2011
    Location
    Kington, Herefordshire. I used to live on a boat on the English waterways
    Posts
    169

    Default Twitter feed formatting

    This is the code that I am using in the body,

    <a class="twitter-timeline"
    href="https://twitter.com/KingtonKLEEN?ref_src=twsrc%5Etfw"
    data-width="600"
    data-height="570"
    data-chrome="transparent">
    Tweets by KingtonKLEEN</a>
    <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

    All is working except the width. Whatever I do to the width alters nothing when I preview the page. Any ideas what's going on?

    T

  2. #2
    Join Date
    Jan 2011
    Location
    Kington, Herefordshire. I used to live on a boat on the English waterways
    Posts
    169

    Default Re: Twitter feed formatting

    That's weird!

    I just increased the width of the rectangle that I am using as the place holder. That sorted out the width problem..

    What on earth?

    T

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    35,650

    Default Re: Twitter feed formatting

    I wonder if you had your dimensions switched? I just tried this at 600 x 600 with no problems.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  4. #4
    Join Date
    Jan 2011
    Location
    Kington, Herefordshire. I used to live on a boat on the English waterways
    Posts
    169

    Default Re: Twitter feed formatting

    Quote Originally Posted by gwpriester View Post
    I wonder if you had your dimensions switched? I just tried this at 600 x 600 with no problems.
    Don't think that was the problem.

    N

  5. #5
    Join Date
    Aug 2010
    Location
    Dublin - Ireland
    Posts
    512

    Default Re: Twitter feed formatting

    The placeholder rectangle should be sized to 600px 570px to match the dimensions in the code.
    James D


    DPX11 user

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    8,534

    Default Re: Twitter feed formatting

    The better coding would be:

    <a class="twitter-timeline" href="https://twitter.com/KingtonKLEEN?ref_src=twsrc%5Etfw" data-width="100%" data-height="100%" data-chrome="transparent">Tweets by KingtonKLEEN</a>
    <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

    and then adjust the Placeholder dimensions to suit.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •