Styling options for embedded tweets

  • Unknown's avatar

    I embedded a tweet and saw the source that it produces with JS deactivated. It is a construction like this:

    <p>TWEET
    AUTHOR TIMESTAMP</p>

    It would be nice if one could have some more options for styling. I am thinking of something like:

    <p class="tweet">TWEET</p>
    <p class="tweet-meta"><span class="author">AUTHOR</span> <span class="timestamp">TIMESTAMP</span></p>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Okay, posting source is more difficult that I thought. What I meant was that there should be spans with more information so that one can style the content, the author, and the linked timestamp differently.

  • Unknown's avatar

    Posting code between backticks should produce the code correctly.

    The backtick is to the left of the number one on most keyboards.

  • Unknown's avatar

    Okay, so instead of just having

    <blockquote class="twitter-tweet">
        <p>Tweet<br>
        Author <a href="Permalink">Timestamp</a></p>
    </blockquote>

    …it would be nice to have this:

    <blockquote class="twitter-tweet">
        <p>Tweet</p>
        <span class="tweet-author">Author</span> <span class="tweet-permalink"><a href="Permalink">Timestamp</a></span></p>
    </blockquote>
  • The topic ‘Styling options for embedded tweets’ is closed to new replies.