Anyway to set standard twitter steam widget only displays 3 stream
Hi All,
I turn on the default twitter intergration in our community. Currently, the default twitter stream widget display 5 tweets with scroll bar. I would like to have 3 tweets without scroll bar.
I have been search around, the idea board contains an article "Twitter Customization" http://lithosphere.lithium.com/t5/customer-ideas/Twitter-Customization/idi-p/44193.
Appreantly, we have to make some customization by ourself. I start to create overrride componemnt based on the standard twitter componment
<div id="kpn_sidebar_twitter"> <@delegate/> <div id="kpn_sidebar_twitter_followus"> <span class="blog-kpnover-link"> <img class="blog-social-link-button" alt="twitter" src="/html/assets/social_twitter.png"> <a href="#" class="arrow"> > Volg ons op Twitter</a></span></div> </div> </div>
I add a custom div id to nested the standard twitter componment. Therefore, i can more handy apply my own CSS skins. I succesfully to remove scroll bar. However, I do not find a way to use CSS to tweak 5 twitter streams into 3 twitter streams. Because they have the same class like
div class="lia-twitter-item-list lia-component-twitter-widget-item-list">... </div>
I have another option is to use JQuery to hide last two div. However, i prefer not to do that . Since the Javascript performance is a bit slow
Does anyone have better idea? Thank you.
Cheers,
Qing