Select to view content in your preferred language

Remove Results Count from Zone Lookup Instant App

471
8
Jump to solution
04-02-2024 09:03 AM
Labels (1)
emoreno
New Contributor III

Hi Esri Community!

I am working on a zone lookup instant app, and was wondering if there was a way to remove the "Results" count at the top of the popups that appear. I've gone through all of the readily available functionality changes in the app, as well as looked online to see if this is something I can do. Does anyone have any recommendations or know if this is achievable? Any help is appreciated! 

emoreno_1-1712073745858.png

 

1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

Here try this css instead. Note this assumes that you do not have any export tools enabled that appear in the same space as the result count. 

 

.toggle-panel{
display:none;
}
@media only screen and (max-width: 859px){
.toggle-panel{
display:block;
}
#countDiv{
display:none;
}
.mobile-expand {

    vertical-align: middle;
    justify-content: space-around;
    display: flex;
    width: 100%;
}
}

View solution in original post

8 Replies
KellyHutchins
Esri Frequent Contributor

You can hide it using the custom css option in the theming section. Here's an example of the css you'd use.

 #countDiv{
display:none;
}
emoreno
New Contributor III

Hi Kelly, that works! Thank you. There is now this empty grey space where the results count used to display, however. Would you know how to remove this from appearing once someone completes a search?

 

emoreno_2-1712082793958.png

emoreno_1-1712082672521.png

 

0 Kudos
KellyHutchins
Esri Frequent Contributor

Here try this css instead. Note this assumes that you do not have any export tools enabled that appear in the same space as the result count. 

 

.toggle-panel{
display:none;
}
@media only screen and (max-width: 859px){
.toggle-panel{
display:block;
}
#countDiv{
display:none;
}
.mobile-expand {

    vertical-align: middle;
    justify-content: space-around;
    display: flex;
    width: 100%;
}
}
emoreno
New Contributor III

That is perfect, I do not have any export options enabled so this will be just fine. Thank you for your help!

0 Kudos
emoreno
New Contributor III

Hi Kelly, thank you again for your help with this custom CSS solution. I showed it to my coworkers and they were very pleased! We were wondering if we could also use this custom CSS to minimize the amount of white space in the app itself, as we only ever have one popup appear and there is a considerable amount of white space under the popup. Please let me know, and I appreciate the help!

emoreno_0-1712587749459.png

 

0 Kudos
KellyHutchins
Esri Frequent Contributor

@emoreno technically it would be possible but it would involve quite a bit of css and it would be very brittle and hard to maintain. However we are working on a full map layout option for Zone Lookup for situations just like yours so keep an eye out for it in a future release. 

emoreno
New Contributor III

Awesome, thank you for the information. Is there any instant app roadmap or timeline I can reference for more information on future releases? 

0 Kudos
KellyHutchins
Esri Frequent Contributor
You can keep an eye on the Esri blog site for “What’s New in ArcGIS Online” to get a sense of what is coming in the next release.