Can you clarify what you mean by "scroll up"? As far as styling the font size and color of the news titles individually, first, it's important to understand the structure of the scroller's output when you're displaying news feeds. It looks something like this:
Code:
<div id="mysagscroller" class="sagscroller">
<ul>
<li><a href="http://google.com">Google</a><div class="rsscontent">RSS description here</div><div class="rsslabel">BBC News</div></li>
<li><a href="http://google.com">Google</a><div class="rsscontent">RSS description here</div><div class="rsslabel">BBC News</div></li>
<li><a href="http://google.com">Google</a><div class="rsscontent">RSS description here</div><div class="rsslabel">BBC News</div></li>
<li><a href="http://google.com">Google</a><div class="rsscontent">RSS description here</div><div class="rsslabel">BBC News</div></li>
<li><a href="http://google.com">Google</a><div class="rsscontent">RSS description here</div><div class="rsslabel">BBC News</div></li>
</ul>
</div>
With that said, lets say you wish to style the very first news item differently from the rest- the following CSS does this:
Code:
<style>
#mysagscroller ul li:nth-of-type(1) a{ /*item's link style*/
font-weight: bold;
}
#mysagscroller ul li:nth-of-type(1) .rsscontent{ /*item's description style*/
color: red;
}
#mysagscroller ul li:nth-of-type(1) .rsslabel{ /*item's label style*/
color: green;
}
</style>
To style the 2nd item instead for example, you'd use the CSS selector #mysagscroller ul li:nth-of-type(2). This is explained in detail in this article.
Bookmarks