1
kashyyyk
css and rss
  • 2006/4/2 1:40

  • kashyyyk

  • Just popping in

  • Posts: 11

  • Since: 2006/4/1 2


I'm using the headlines module to display RSS feed.
In my headlines block I would like to use css on the links to change the style of the links. Where do I add my class=""

I was able to make the changes on the headlines page, xoopsheadline_feed.html but my block only contains-
<{foreach item=feed from=$block.feeds}>
< p><{$feed}>< /p>
<{/foreach}>

Thanks,
Dan

2
Herko
Re: css and rss
  • 2006/4/2 7:22

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


<div id="rssfeed"><{foreach item=feed from=$block.feeds}>
< p><{$feed}>< /p>
<{/foreach}></div>

and in your css file use this:

div#rssfeed a:link {
normal styles here
}
div#rssfeed a:hover {
link hover exception styles here
}

Herko

3
incama
Re: css and rss
  • 2006/4/2 15:34

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


<{foreach item=feed from=$block.feeds}>
<
class="rssfeed"><{$feed}>< /p>
<{/foreach}>


makes the code more clear.
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

Login

Who's Online

251 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits