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
There was a Layout Paragraphs update recently in the Backdrop news feed.
Layout Paragraphs?
Hi Enthusiast, I had that problem with a site a while back and in that case it was a hosting problem with IPv6, which didn't work properly on the server this site was on. I updated...
Error when trying to check for updates
Hi. Welcome to Backdrop. Out of the box, there are two places you can set visibility by user ID and they are related: The layout configure screen under "Visibility conditions" (admin/structure/...
Use visibility User by uid
Start with clean URLs, add Pathauto and Metatag modules, submit your XML sitemap to Google Search Console, and keep your content original and well-structured.
How to Improve SEO Performance in Backdrop CMS
Check out this post re: tempstore: https://forum.backdropcms.org/forum/tempstore-table
Which database tables can I saftely empty before DB backup