-
Notifications
You must be signed in to change notification settings - Fork 217
Could not apply my own CSS stylesheet onto Twitter feeds #379
Comments
Is there a live example you can point me at? Not possible to give much feedback based on a summary of what you tried. |
The website is here. http://maryoneill.tmaworldwide.com.au/blog.html If you look at the sidebar, there's section called Latest Tweets, Under that heading, you'll see two tweet outputs. First section is the static html output of a mock-up twitter feed; second section is the output of the actual feed using Twitter-mod.js function. Latest Tweets
The css styling is Javascript code <script type="text/javascript"> $(document).ready(function() { $('.tweet').tweet({ modpath: '/files/twitter/', username: 'MaryONeillLife', join_text: 'auto', count: 3, loading_text: 'loading twitter feed...', }); }); </script>Have a look and see what you can make of it! |
Hi, Have you found anything yet, what's the cause of the issue? Andy |
Well, if I look in the Chrome inspector at the elements which should be styled by Cheers, -Steve |
Thank Steve. If you confirmed that your example CSS is fundamentally working fine and nothing else changes, then that leaves me on remaning clue to suspect my website may have some CSS stylesheets which may have conflicted with my CSS tweets. I'll create a test static html, write the content, and isolate which css stylesheet is causing this problem. Thanks again for looking into this. Much appreciated. |
Hi,
I tried to follow your instructions on this page.
http://tweet.seaofclouds.com/
on styling the css for the twitter feeds. Apparently it's not working at all.
Here's my css stylesheet.
.tweet .tweet_avatar {
display: none;
}
.tweet .tweet-list li {
background: url(../images/tweet_grey.png) no-repeat top left;
border-bottom: 1px dashed #e6e6e6;
padding-left: 30px;
margin-top: 10px;
padding-bottom: 10px;
}
.tweet .tweet-list li .tweet_time {
display: block;
}
where as .tweet is my main class.
And in my js code,
<script type="text/javascript"> $(document).ready(function() { $('.tweet').tweet({ modpath: '/files/twitter/', username: 'MaryONeillLife', join_text: 'auto', count: 3, loading_text: 'loading twitter feed...', }); }); </script>After all that set up - nothing happens!
I validated that the css are correct and included in the link stylesheet statement within the html file and I've been sitting for the past couple of hours, scratching my head why should this not work!
Did I do something wrong with my CSS or the way I declare my css for use?
I really could use your help.
The text was updated successfully, but these errors were encountered: