This project is read-only.

Customizing widgets with background images

Topics: Controls
Jan 17, 2009 at 12:48 AM
I'm trying to customize the widgets with a background image. Looking at Render() in WidgetBase.cs I found where the html is being built. I basically want to add some extra CSS code that will add a background image to each widget. Is this the best way to go about doing this? If not, what is? Has anyone seen any examples of this?

Jan 17, 2009 at 12:52 AM
Each widget has "widget" as part of it's CSS class.  In the standard theme, there's a div.widget class in the style.css file.  You could probably just add your background image to that existing style.