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!
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.
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.
<SPAN class="selector token">#_5_panel.jimu-panel>.jimu-panel-title>.title-label</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">display</SPAN><SPAN class="punctuation token">:</SPAN> none <SPAN class="punctuation token">}</SPAN> <SPAN class="selector token">#_5_panel.jimu-panel>.jimu-panel-title>.close-btn</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">display</SPAN><SPAN class="punctuation token">:</SPAN> none <SPAN class="punctuation token">}</SPAN> <SPAN class="selector token">#_5_panel.jimu-panel>.jimu-panel-title>.max-btn</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">display</SPAN><SPAN class="punctuation token">:</SPAN> none <SPAN class="punctuation token">}</SPAN> <SPAN class="selector token">#_5_panel.jimu-panel>.jimu-panel-title>.foldable-btn</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">display</SPAN><SPAN class="punctuation token">:</SPAN> none <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.