Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Customise leaflet.js to make popups appear WordPress


We are using leaflet.js plugin on a WordPress site to display infographics.

All is working fine, apart from the popups at the very edges of the infographics display are opening outside of the viewable area of the image. We need a fix to ensure the infographic map can scroll to show all text in popups within the viewable area of the infographic.

Any help appreciated.


Answers (3)


Arnav Joy answers:

I have faced this problem before ..

you have to remove following css to leaflet.css file found in css folder

.leaflet-map-pane { overflow:hidden}

Let me know if that not solves your problem.

marcusjwilson comments:

Ah yes - that works!


Ryan S answers:


Can you by chance add screenshot on what's on your end? and maybe a plugin settings so we have our idea too, maybe there's a closing tag missing etc.



Reigel Gallarde answers:

any link? sample problem?