Screen Shot 2015-01-11 at 9.15.21 AMI offer support for a few web sites, and not too long ago, I created a WordPress theme for Omnis Risk ( Actually this was just a slightly modified version of the theme that I’d done some time ago for Omnis Tools (, with some style changes to match the branding for the risk management logo.

I made the change for Omnis Risk. They were in a hurry to get a site up in time for the Affordable Care Act, so mostly it was just a matter of removing some styling from the Omnis Tools theme, and changing which jQuery UI Theme Roller theme (used for colors). But because of that, it didn’t have the finished styling of the Omnis Tools site:

Screen Shot 2015-01-11 at 8.47.29 AM


The problem was that some of the styling eliminated to change the color scheme also caused some of the desirable display elements to loses styling. So the customer asked if I could add a border to delineate the content area.

I took a quick look at the site, thinking that it might mean that I needed to do some coding changes to split the page out so that I could add a border around the content. Fortunately though, since the page already had the proper layout, I just needed to add some styling. In WordPress this can be accomplished either by editing the style sheet with JetPack, or by using the appearance editor.

On this site, I have a DIV that has the ID of “main”, so to get the border around the text, all I needed was to add a style with a background. The first pass to show it to the client was to bring up Chrome, and add an inline style to show it could be done and ask about what color she’d like to see.

Screen Shot 2015-01-11 at 9.00.50 AM

After looking at that she asked about using a light grey, which reminded me that we were actually using a gradient for this same thing on the Omnis Risk site.

Screen Shot 2015-01-11 at 9.03.21 AM

Using the Ultimate CSS Gradient Editor on the ColorZilla site, I created the gradient. This is an awesome site that will generate a CSS snippet for any sort of gradient you want that will work across different browsers.

In my style sheet, I had a class defined for the grey gradient as:

So activating the grey gradient on the main DIV was a simple matter of adding that ID to the CSS as:

And now the site looks much cleaner:

Screen Shot 2015-06-02 at 11.16.59 AM