Select to view content in your preferred language

Zone Lookup Instant App - How to Hide "Results" count from export to PDF output

705
1
Jump to solution
06-28-2022 02:06 PM
Labels (1)
MTaran
by
New Contributor

I'm using the Zone Lookup App and would like to hide the "Results" count element from the export to PDF print output.  What custom CSS can I use to accomplish this?

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

You can hide the result count using the following: 

 

@media print{     .print-results{         display:none;     } }

 

One easy way to see the styles that apply when the export pdf options is clicked is to run the app, select the results then use the browser dev tools to emulate the print CSS media type. Once you do this you can use the dev tools inspection tools to see the rendered elements and their styles.  Here's info on how to enable print view in Chrome.  

View solution in original post

1 Reply
KellyHutchins
Esri Frequent Contributor

You can hide the result count using the following: 

 

@media print{     .print-results{         display:none;     } }

 

One easy way to see the styles that apply when the export pdf options is clicked is to run the app, select the results then use the browser dev tools to emulate the print CSS media type. Once you do this you can use the dev tools inspection tools to see the rendered elements and their styles.  Here's info on how to enable print view in Chrome.