Ask your WordPress questions! Pay money and get answers fast! (more info)

Customise leaflet.js to make popups appear WordPress

  • SOLVED

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.

Thanks
Marcus

Answers (3)

2015-01-22

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!

2015-01-22

Ryan S answers:

Hi,

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.


Thanks

2015-01-22

Reigel Gallarde answers:

any link? sample problem?