Select to view content in your preferred language

Nearby Instant App - custom CSS

2207
3
Jump to solution
08-04-2021 01:08 PM
NataliyaLys
Frequent Contributor

Hello,

I created an instant NearBy app, and I would like to hide a Header section. I added the following to the Custom CSS section: .panel .app-header {display: none !important;} 

The CSS above removed the header but only from desktop view, the header is still there for tablet/mobile views. How to I hide a header for tablet/mobile views.

NataliyaLys_0-1628107534150.png

 

Thank you,

 

 

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor
Try the following:

.app-header{display:none}



View solution in original post

3 Replies
KellyHutchins
Esri Frequent Contributor
Try the following:

.app-header{display:none}



NataliyaLys
Frequent Contributor

Thank you. That was way easier than I thought. 

0 Kudos
CameronBlandy
Regular Contributor

Related to CSS for the Nearby on the Instant Apps I am wondering if there is some CSS tricks to set the background colour for the each of results based on an attribute from the feature.

0 Kudos