Remove popup menu from Layer List Widget

2810
2
Jump to solution
07-27-2015 09:58 AM
LindseyStone
Occasional Contributor III

Is there anyway to remove the popup menu from the layer list completely.  I just don't want to remove some of the options.  I want to remove the menu completely, along with the little arrow that activates it.  All the items on the menu,  I don't want the user to access it, so there is no point for it.  I found this thread Cutomizing the Layer List widget but it was more for customizing than removing it completely.

Capture.JPG

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Lindsey,

  Sure just add this to your css (line 9 is the important part):

.jimu-widget-layerList .layers-list-popupMenu-div {
    position: relative;
    width: 16px;
    height: 40px;
    cursor: pointer;
    border-radius: 2px;
    float: right;
    padding-top: 14px;
    display: none;
}

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Lindsey,

  Sure just add this to your css (line 9 is the important part):

.jimu-widget-layerList .layers-list-popupMenu-div {
    position: relative;
    width: 16px;
    height: 40px;
    cursor: pointer;
    border-radius: 2px;
    float: right;
    padding-top: 14px;
    display: none;
}
LindseyStone
Occasional Contributor III

That worked.  Thanks Robert!!!

0 Kudos