timversnel+ 0 Report post Posted February 6, 2011 Dear all, I've been trying to work out some modifications on the default RSS-widget, which I plan on using as a full-width widget to show the latest posts on my homepage (feature page). After lots of puzzling I can't figure out how to make these two things happen: 1. I'd like to change the order in which the widget displays the info: first the date and then the link, instead of the reverse which is default. I've tried to search through the related php file (default_widgets) and have tried everything there that I thought made sense, but I can't manage to get it done. 2. I'd like to change the CSS class of the links the widget produces to h3. How do I do this? You can find my website at hopeandfear.org, which is a domain I use for testing future websites. Thanks so much! Tim Share this post Link to post Share on other sites
catrina 103 Report post Posted February 6, 2011 1. Open default-widgets.php and look for this code: `$title{$date}{$summary}{$author}` Replace that with the following: `{$date}$title{$summary}{$author}` 2. Do you mean that you want to change the CSS class for the links in all widgets? (All widgets have the header/title class h3...) Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
timversnel+ 0 Report post Posted February 6, 2011 Thanks Catrina that worked perfectly! As for the links, I'd prefer to change just the RSS-widget. The idea is that because I use that one just on the homepage those links can be somewhat bigger (the size of the boxes' headers). Increasing the size for all widgetlinks would result in some oversized text in the primary sidebar. Would this be at all doable? Thanks! Share this post Link to post Share on other sites
catrina 103 Report post Posted February 6, 2011 Add this code to the base.css file: a.rsswidget:link {font-size: 18px;} Adjust the font size according to your wishes. This code will affect only the RSS link titles, not the dates. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
timversnel+ 0 Report post Posted February 6, 2011 Works great! Thanks. Is there an easy way to change the size of the date too? Share this post Link to post Share on other sites
kastelic 6 Report post Posted February 6, 2011 .rss-date{font-size:1.2em} Share this post Link to post Share on other sites
timversnel+ 0 Report post Posted February 6, 2011 Great! Thanks so much. Share this post Link to post Share on other sites