Select to view content in your preferred language

Custom CSS in Instant Apps Reporter - Hide the Header, Change Background color on the Button

637
14
Jump to solution
08-30-2024 08:17 AM
FonPunnakanta
Emerging Contributor

Is it possible to Change background color for the button and Hide the Header in Reporter Instant App using Custom CSS?

pkGR2jX9Nd.png

I tried this script it doesn't seem to work for button background color. I haven't got too far to try anything with the Header yet.

Custom CSS:

calcite-button{

    background-color: red;

}

14 Replies
LizaMarkey
Occasional Contributor

@KellyHutchins Can this be incorporated for a sidebar instant app, using custom CSS to change color of splash screen button? I copied your syntax and doesn't seem to work but seems like it should.

LizaMarkey_0-1737653898079.png

LizaMarkey_1-1737653921642.png

 

 

0 Kudos
KellyHutchins
Esri Frequent Contributor

@LizaMarkey which instant app are you using and I can take a look. You also can try this:

 

instant-apps-splash{
--calcite-color-brand:orange;}

 

 

0 Kudos
LizaMarkey
Occasional Contributor

We are using Sidebar - I inserted the above and it still didn't take. Thanks!

0 Kudos
KellyHutchins
Esri Frequent Contributor

Enterprise? If so which version? Or ArcGIS Online. If your app is public can you send me the url so I can take a look?

 

0 Kudos
KellyHutchins
Esri Frequent Contributor

Also maybe try this: 

.sidebar-splash-panel.calcite-mode-light{

 --calcite-color-brand:green;


}
0 Kudos