bozdoz / wp-plugin-leaflet-map

Add leaflet maps to Wordpress with shortcodes
https://wordpress.org/plugins/leaflet-map/
GNU General Public License v2.0
141 stars 72 forks source link

Boxes around marker icon and shadow #21

Closed Jmuccigr closed 7 years ago

Jmuccigr commented 7 years ago

I'm not seeing the icon shadows for my markers. Instead I get just the outline of a box for the image. WP 4.6.1

bozdoz commented 7 years ago

Depends on where you're hosting your leaflet js file

Jmuccigr commented 7 years ago

I'm just using the default settings.

bozdoz commented 7 years ago

Fresh install, I can't reproduce this. I need some more info to be of any more help.

Here's an example post with [leaflet-map] and [leaflet-marker]:

screenshot from 2016-10-20 20-18-59

Jmuccigr commented 7 years ago

Nope, not for me, with neither a new page or a new post. See screenshot (where the map height is 500, but that doesn't change anything). Text of the page/post is simply [leaflet-map] [leaflet-marker]. You can see that there are two boxes, actually: one around the marker and the other around the shadow, which actually is there (so I'm changing the title of this issue).

I'm using reclaim hosting. Are there more details that would help? unspecified

bozdoz commented 7 years ago

There are boxes around all of the tile images too. Maybe open the developer window on your browser? Maybe you've enabled some experimental "border around every image" feature?

Jmuccigr commented 7 years ago

Ah, I thought those were lat/long lines.

But, no, if I switch browsers, it's the same. I'll send you the URL.

Jmuccigr commented 7 years ago

For posterity, @bozdoz found a line in the theme's css (fkidd) which uses box-shadow. I was able to work around it by modifying the css to have no shadows around the relevant elements.