New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customization of popup field #605
Comments
I don't think there's an easy way to achieve what you want as things stand, and I'm not keen on cluttering the plugin GUI to add such options. However, if I were able to add CSS classes to the popup, you'd then be able to add whatever CSS rules you want. I'll look into this. |
I'd like to accomplish this as well by making the attributes appear like a table with field value on the left and description on the right. @tomchadwin were you able to look into the issue? Thanks |
I have just released version 3.18.1, which significantly changes the appearance of the popup discussed in this thread. Shortly, the update will be available within the QGIS plugin repository. I am closing the thread and kindly ask you to reopen it if the update does not meet your expectations. Thank you for using the plugin. I would greatly appreciate it if you would consider donating a virtual coffee through the button on the homepage to support the development of qgis2web. Best regards. |
I am trying to change the visual aspects of the popup fields by changing the code.
In Leaflet, header label, I would like to see the relative value centered. So the field name is aligned left and the value which comes on the second line (after the line-break 'br') is aligned center.
However, I have no luck and too little understanding of code to get this done. I can change the alignment but it always applies to both parts of the cell: before and after the line-break 'br'.
Any tips for me?
And is it possible to add customization options to the popup field? It is now 'no label, header label, or inline label' and I would like to have this alignment functionality as an option.
Also the possibility to choose a background colour for the popup field would be nice.
The text was updated successfully, but these errors were encountered: