Optionally Remove Widget Header Controls

519
2
03-26-2018 05:26 PM
BakerPruiksma
New Contributor

Is it possible to remove the Widget header controls for some widgets or the map?

Specifically, I would like to remove the div which includes the widget title, maximise & close buttons.  This is for WAB 2.7.

Thanks!

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Baker,

   You can use a CSS rule to hide those.

 Here is a sample rule for hiding the title, close, minimize, etc on widget _5.

#_5_panel.jimu-panel>.jimu-panel-title>.title-label {
  display: none
}
#_5_panel.jimu-panel>.jimu-panel-title>.close-btn {
  display: none
}
#_5_panel.jimu-panel>.jimu-panel-title>.max-btn {
  display: none
}
#_5_panel.jimu-panel>.jimu-panel-title>.foldable-btn {
  display: none
}
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos