Created
June 10, 2013 15:51
-
-
Save trovster/5749851 to your computer and use it in GitHub Desktop.
Append your CSS to the Twitter Timeline widget to allow for more styling options. In your normal CSS file(s) you can then use .twitter-timeline .stream {}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.twitter-timeline').parent().on('DOMNodeInserted', function (event) { | |
$(event.target).closest('iframe').on('load', function (e) { | |
$(e.target).contents().find('head').append($('link[rel="stylesheet"]').clone()); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Trovster, that looks well good ... I've added the code and alas not getting anywhere :-(
So I added the twitter CSS - hoping it would work, but no luck - here's my basic css code :
Do you have a working example - or can you help please
Thanx,
Matt