Styling options for embedded tweets

  • Author
    Posts
  • #1020189

    mkalina
    Member

    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 3th.be.

    #1020276

    mkalina
    Member

    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.

    #1020277

    justjennifer
    Moderator

    Posting code between backticks should produce the code correctly.

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

    #1020280

    mkalina
    Member

    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.