Ok I was also able to figure this out - for the CSS style I did this
.olControlPanel .olControlButtonHomeItemActive { background-image: url("OpenLayers-2.9.1/theme/default/img/home.gif"); } .olControlPanel .olControlButtonHomeItemInActive { background-image: url("OpenLayers-2.9.1/theme/default/img/home.gif"); and for my button I did this - var btn = new OpenLayers.Control.Button({trigger: onTrigger, title: "Reload Website", displayClass: 'olControlButtonHome'}); -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Add-custom-control-possible-tp5393642p5393884.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users