Modify html structure of tweets

Started by webinati, May 26, 2015, 03:32:10 AM

previous topic - next topic
Go Down


Hi there,

I am finding the tweet layout quite difficult to use for custom css modifications due mainly to the fact that the < a > tags don't include classes, and, that the "posted on date" text is just inline text, without being wrapped in a < span > or any other tag.

My question is: Is it possible to modify the structure of the html of the tweets so we can do much more customisation to the layouts with css? For instance, each tweet could be structured like this:

Code Select
<li class="tweet_list">
<span class="tweet-message">This is the text from an actual tweet</span>
<a class="tweet-link" href="#">href link here</a>
<span class="tweet-date">posted on date</a>
<a class="delete-tweet" href="#">[delete]</a>

This way people can target specific parts of the tweet. The current layout is simply text in an li tag with a few anchor tags floating in there. Any help on this would be greatly appreciated.

Go Up