[Qgis-user] Customization of popup fields in qgis2web

Jeroen Hovens mail at groenebij.nl
Fri Feb 2 04:50:33 PST 2018


Hello,

 

I could use some help with leaflet/java coding.

 

I would like to change the appearance of the popup fields which are
generated by the qgis2web plugin using the Leaflet option. The pop-up field
shows selected attributes and their value of polygons on mouse-over.

For example, changing the background color, adding a different border or
aligning the field value to 'centered'. I am able to change the alignment,
but this also aligns the field name itself (at least in "Header label")

 

Tom Chadwin is looking into the possibility of adding CSS classes to the
popup, but maybe there are some easy solutions for manually editing the
output files of qgis2web?

 

However, my knowledge of Leaflet and java is little to none. What and where
should I edit in the output files of the webmap published by the qgis2web
plugin?

 

Gr.

Jeroen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180202/0ec71dce/attachment.html>


More information about the Qgis-user mailing list