[GIS] way to customize the zoom button and legend in cartodb js

cartocarto-jscartocsslegendzoom

I am following this tutorial, http://docs.cartodb.com/tutorials/toggle_map_view.html, and have been successful in developing an application with similar functionality, currently I am working on customizing the appearance of the application. I would to customize the the appearance of the zoom button and the legend (font, color, location) in the application. Is there any wall to do this? In the css or js?

Best Answer

You can do it with plain css. For example. html body .leaflet-control-container .leaflet-top .leaflet-control-zoom a.leaflet-control-zoom-in { color: red; } changes zoom in control color.

Related Question