I'm using Leaflet to display maps from geofield data, with the great Leaflet Widget for Geofield module and I was having trouble with the accurate display of the marker points. When editing, the marker position displayed correctly but shown displayed on the node display (or in Views) the marker was consistently too high, by about 20 pixels.
I struggled with this issue and wasted a few hours but with help (from 'indigoxela' and 'yorkshire-pudding' in https://backdrop.zulipchat.com/) managed to get to the bottom of it.
I had built a subtheme of Bootstrap Lite, and that theme adds a top and bottom margin of 20px to the marker (img).
I added to my subtheme's styles.css:
img { margin: 0; }
and all was displayed perfectly.
I'm adding this here in case anyone else comes across this particular combination of theme and module and sees the same problem.
Recent comments
YES! That works. This whole thing is extremely bizarre, though. On the site I'm building (not the sandbox demo), I had a view that was displaying multiple images correctly (i.e. once, not...
Duplicated images in view
Maybe "Query settings" : "Distinct". If there are multiple identical items, each will be displayed only once. You can use this to try and remove duplicates from a view, though it...
Duplicated images in view
If there are N images in the field, then that set of N images gets repeated N times, it seems.
Duplicated images in view
Excellent! Yes, that's one of those "too simple and obvious" solutions. I hadn't thought of it either. However, this solves only one part of the problem (empty blocks). It doesn't solve my...
Duplicated images in view
I am surprised, but I confirm that the block and the title are displayed when there is no content. And the "No Results Behavior" option, which should display a message about an empty result,...
Duplicated images in view