Styling an RSS Widget
I've been trying to solve this for hours. I have an RSS widget on my front page. I want to style every other line. There are so many classes and divs that lead up to the data:
Code:
<div id="front_page_widget_area" class="bfa_widget_area"> |
Sorry, I forgot: www.greenvilleconcerts.com and this is the last CSS I tried:
.rsswidget a { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 1.0em; font-weight: bold; color: #003399; background-color: #FFFF99; } |
No, that didn't work. I was keeping my fingers crossed though!
|
It's funny that the things I try in Expression Web 4 don't work. Seems to be a piece of the puzzle I am missing...
|
Thanks for helping me. I tried this code
Code:
div.widget_rss ul li a.rsswidget { |
I'm not quite sure if you want to style every other rss feed or the second line of each rss feed. Anyway here it the CSS to change the RSS title, the first line of the feed and the second line (the rss summary). You should be able to pick out what you need
HTML Code:
.widget-title h3 a.rsswidget {color: red;} Note: you can't change every other rss group because there is nothing unique for the lines. If they has a class of...say 'even' and 'odd', then you could have every other group a different color. |
Juggledad, I might be seeing things, or not understanding you, but isn't the code that you just gave me the same code that I said I tried right before your answer to me?
Code:
div.widget_rss ul li a.rsswidget { |
ok, are you trying to style the line
HTML Code:
Friday 31st: Parmalee at ***All Shows Postponed Until Further Notice*** Greenville HTML Code:
Parmalee Greenville : ***All Shows Postponed Until Further Notice*** on 2010-12-31 […] HTML]Parmalee Greenville : ***All Shows Postponed Until Further Notice*** on 2010-12-31 […][/html]the summary, you must use HTML Code:
div.widget_rss ul li .rssSummary {color: green;} |
Quote:
|
I don't see the code for the rsssummary in your css - did you take it out?
do this. put the css in and then do an export and attach it to a reply and I'll take a look |
1 Attachment(s)
I don't have the code for summary inserted, it is for the other: a.rsswidget ...
Code:
div.widget_rss ul li a.rsswidget { |
Ok, I'm confused.
you have the following as the first two feeds Fri Jan 7th: Bimini Rd. LIVE Greenville Bimini Rd. Greenville : LIVE Bellfork Square (Firetower Rd) Greenville, NC 23456 UNITED STATES on 2011-01-07 […] Sat Jan 8th: Bimini Rd. LIVE Greenville Bimini Rd. Greenville : LIVE Bellfork Square (Firetower Rd) Greenville, NC 23456 UNITED STATES on 2011-01-08 […] Do you want 1) all of Fri Jan 7th: Bimini Rd. LIVE Greenville Bimini Rd. Greenville : LIVE Bellfork Square (Firetower Rd) Greenville, NC 23456 UNITED STATES on 2011-01-07 […] to be the same font/color etc or 2) do you want Fri Jan 7th: Bimini Rd. LIVE Greenville Bimini Rd. Greenville : LIVE Bellfork Square (Firetower Rd) Greenville, NC 23456 UNITED STATES on 2011-01-07 […] to be one color/style and Sat Jan 8th: Bimini Rd. LIVE Greenville Bimini Rd. Greenville : LIVE Bellfork Square (Firetower Rd) Greenville, NC 23456 UNITED STATES on 2011-01-08 […] to be another? |
Since each line is either one of two classes, rsswidget or rssSummary, and they alternate back and forth, I would like to be able to style one or the other or BOTH classes if that is whats needed to present the data in a pleasing style.
So that is what I am going for - finding the code that will affect those classes. I think we both have formulated the correct code, but for some reason it's being overwritten or ignored. Unless you have another idea??? |
please put this in at the bottom of the CSS inserts until I get a chance to look at it.
HTML Code:
div.widget_rss ul li .rssSummary { |
Thank you for trying to solve this problem. The feed is down today for the RSS on the static front page, so I've decided to try and enter events manually through an events plug-in. It works on the home page "loop", so I have to replace the existing static front page. Thanks for your help.
|
All times are GMT -6. The time now is 08:21 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.