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
To add a summary of event details to the list below the title and customize the way the time is displayed. If this is part of the library then I guess the easiest way is to create a list...
FullCalendar Views - way to modify list view?
AFAIK, this is part of the FullCalendar library and it doesn't create a separate View Display. If you want to customise the look and feel, you will need to target the elements with CSS....
FullCalendar Views - way to modify list view?
CSS - font-weight: bold. If in the future you want to remove the bold for that field on all pages of the site, changing the formatting of all pages is very difficult, unlike changing the CSS...
Use text editors in Summary Field
thanks! you understood me perfectly. Displays was the place to go... now it seems so obvious! thanks!!@
How to switch on/off taxonomy titles within a node?
Hi @geoma If I've understood you correctly: Go to /admin/structure/types/manage/institutions/display/default For the "County" field, select the Label to "...
How to switch on/off taxonomy titles within a node?