Extra HTML Tags
-
This is a great plugin, but I am running into some formatting issues.
When I insert the short code into the Editor I end up with <p></p> before and after where the map is displayed on the frontend. I am using “Text” view and entering the following on one line
[leaflet-map address="Las Vegas" zoomcontrol scrollwheelzoom !attribution height="500px" zoom=9][leaflet-geojson src="/wp-content/themes/cs_2019/img/Stops.geojson"]<h4>{name}</h4>{description}<a class="button" href="#" target="_blank" rel="noopener noreferrer">BOOK NOW</a>[/leaflet-geojson]
Similar issue with the pop up…I end up with the following.. extra <p> and <br> tags the mess up the layout.
<div class="leaflet-popup-content" style="width: 301px;"><p></p><br><h4>TITLE</h4><br><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<a class="button" href="#" target="_blank" rel="noopener noreferrer">BOOK NOW</a></p></div>
Any suggestion, other then targeting these with css?
- The topic ‘Extra HTML Tags’ is closed to new replies.