Tagged: leaflet, marker, open street map, OSM, pop-up
Hello,
inside the pop-up of OSM markers there are 2 BR tags instead of 1 between each line, is it normal ? is there a trick to have only one ?
Thank you, regards
Hey comkapi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
.leaflet-popup-content br:nth-child(even) {
display: none;
}
I have reported this to the Dev Team for them to review this issue for a future update.
Best regards,
Mike
Thank you Mike, perfect !
Best regards
Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Just to follow up, the Dev Team has applied this to the theme for the next update. So you could remove the above solution after the next update or leave it as it would not cause any issues.
Unless there is anything else we can help with on this issue, shall we close this thread then?
Best regards,
Mike