I am trying to customize the appearance of the popup in my mapbox
using a unique CSS style. However, it seems that the CSS is not being applied to the popup.
var popup=new mapbox.Popup({offset:25,closeButton:false,closeOnMove:true,className:'pop-up'})
.setHTML(
'<div>'+
'<p>'+
Hello+
'</p>'+
'</div>'
);
This is the CSS code I am using:
.pop-up{
color: #F3F3DD;
background-color: #91785D;
border-color: #91785D;
max-width: 50px;
box-shadow: 3px 3px 2px #8B5D33;
font-family: 'Oswald';
}
Does anyone know how to troubleshoot and resolve this issue?