If you have attempted to use the RSS Viewer web part in SharePoint Online (part of Office 365), you will notice that it doesn’t work!
Rene Modery has done a wonderful job creating the RSS Feed Web Part for Office 365 and with his latest release (June 29, 2012), you should put this on your list of must-have sandboxed solutions for Office 365. If you have used it before and had issues with SSL (Plan 2), Rene has fixed those issues with this release.
The web part can also be branded via CSS, and in this post I will show you how. The original posting for the web part shows the layout of the output. In the latest release, Rene also includes a new CSS file (WhiteBlue.css) in the solution and that is where I will start with my branding effort.
Let’s change the hover colors – these are the colors displayed when you hover your mouse over an item displayed in the reader. There are two colors that will need to be changed in the .rssRow:hover style: background-color and border-left. Change them to any color you wish – I chose two orange colors (#E87E01 and #D84A00), which matched my overall site branding.
NOTE: Make sure the background-color complements the color attribute in the same .rssRow:hover style – which defines the color of the text in the body of the item you are highlighting. It is #FFF (white) in my CSS, so it works well with the orange colors I picked.
Of course, you can change any of the other visual aspects of the solution just by changing the CSS.
There are two general ways to make the changes on your site:
- Make a CSS file and upload it to a document library (such as the Style Library). Within the Miscellaneous section of the web part properties, enter the URL for the CSS file you upload.
- Add the CSS to your master page (not preferred) or reference a custom CSS file within your master page.
Here is the result of my branding effort:
Here is the CSS I used to create what you see above:
You can download the CSS file here.