Add Typed legend, with custom layout and css positioning