PDA

View Full Version : gFeedFetcher Individual CSS Stylings for RSS Feeds



TylerCHurst
03-06-2013, 08:02 PM
1) Script Title: gAjax RSS Feeds Displayer v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem: Hi there, I did a few searches, but couldn't find the problem, so forgive me if this has already been asked. I'm also really new to any kind of coding like this. I'm want to be able to change the CSS of each individual RSS feed but am unsure how to go about doing it. Any help would be appreciated!

Thank you,
Tyler

Beverleyh
03-06-2013, 09:47 PM
If you scroll almost to the bottom if the script demo page and look for the section under "Styling your RSS entries", you'll see this CSS snippet;
.titlefield{ /* CSS for title field in general */
font-weight: bold;
}

.labelfield{ /* CSS for label field in general */
color:brown;
font-size: 90%;
}

#example1 .datefield{ /* CSS for date field of the RSS feed with id="example1" */
color:gray;
font-size: 90%;
}The part in red specifically targets the RSS with id #example1, while the rest will style all RSS feeds (classes - with the . in front - can be used on multiple elements, ids - with the # in front - must only be used on one element)

If you need more help, please provide a link to your page with more specific styling requirements.

TylerCHurst
03-07-2013, 06:39 AM
Awesome, thank you so much! I've got it now!