Can you adjust the pop up template in arcGIS online?

06-17-2019 10:55 AM
New Contributor

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)

Tags (1)
0 Kudos
2 Replies
MVP Regular Contributor


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 

Occasional Contributor

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:

.esri-popup__main-container {
   max-height: ?px
   min-height: ?px
   max-width: ?px
   min-width: ?px

I also recommend this link if you are unsure about the CSS properties of the Esri popup widget: