Styling A Widget The Safe Way

It is very important to localize your css so you are not affecting parts of your site that you don't intend to!

Let's style the Upcoming Events widget an an alternate way using css classes.

In the video, I add two Upcoming Events widgets to a page, and add the classes pastevents and bg3 to one of them. Then the css used is below.

If you ever need to revert this widget back to base styling, you can remove the pastevents and bg3 classes.

Complete and Continue