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
    185

    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
    185

    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
    41,498

    Default Re: Twitter feed formatting

    I wonder if you had your dimensions switched? I just tried this at 600 x 600 with no problems.

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

    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
    Posts
    533

    Default Re: Twitter feed formatting

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

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,805

    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 - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

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
  •