2016-04-12 41 views
0

需要删除上下箭头符号。这是我的与JS结合的HTML代码。Magento网站 - 按选项排序:上下箭头与排序数据绑定,只需要移除上下箭头

<div class="wrap-select"> 
     <select onchange="setLocation(this.value)"> 
      <option value="http://localhost/purcheasy/phones.html?dir=asc&amp;order=position" selected="selected">Position</option> 
      <option value="http://localhost/purcheasy/phones.html?dir=asc&amp;order=name">Name</option> 
      <option value="http://localhost/purcheasy/phones.html?dir=asc&amp;order=price">Price</option> 
     </select> 
</div> 

回答

0

您可以使用CSS来隐藏下面这个箭头:

.sort-by-switcher{display:none}

或者你可以使用jQuery这样的:

jQuery('.sort-by-switcher').remove();