Is there a way to edit the size of a pop up window in ArcGIS online for a webmap? (Or otherwise edit the pop up template)
Francine,
If I understand your question correctly and you were in reference to an ArcGIS Online map you have published, yes. The pop ups are substantially configurable and even support some HTML and Arcade code. Although size is not directly controllable you can modify the content which indirectly affects the size. Take a look at:
Configure pop-ups—ArcGIS Online Help | ArcGIS
Supported HTML—ArcGIS Online Help | ArcGIS
Combining Arcade and HTML for a Real-life Pop-up Display
You can customize the Esri popup size through its CSS property's. Simply use the following code in your <style></style> and change whatever you wish to your liking and add or remove different CSS properties:
<SPAN class="selector token">.esri-popup__main-container</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">max-height</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">min-height</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">max-width</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">min-width</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="punctuation token">}</SPAN> <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.