Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在标题中隐藏JQuery菜单按钮_Jquery_Button_Mobile_Menu_Header - Fatal编程技术网

在标题中隐藏JQuery菜单按钮

在标题中隐藏JQuery菜单按钮,jquery,button,mobile,menu,header,Jquery,Button,Mobile,Menu,Header,我写了以下几页: 如何隐藏右侧标题上3行图标下的灰色按钮 这是标题的代码: <div data-role="header" data-position="fixed" style="min-height: 60px;"> <img border="5" src="logo2.png" alt="Logo" style="border-color:#dd0000;float:left;display:inline"/> <a id="bars-button"

我写了以下几页:

如何隐藏右侧标题上3行图标下的灰色按钮

这是标题的代码:

<div data-role="header" data-position="fixed" style="min-height: 60px;">
  <img border="5" src="logo2.png" alt="Logo" style="border-color:#dd0000;float:left;display:inline"/>
  <a id="bars-button" data-theme="a" data-wrapperels="span" data-iconshadow="true" data-shadow="true" data-corners="true" class="ui-btn-right ui-btn ui-shadow ui-btn-corner-all ui-btn-up-a" href="#navpanel">
   <span class="ui-btn-inner">
      <span class="ui-btn-text"><img src="images/smico.png"></span>
   </span>
 </a>
</div>

您需要从此类中删除背景

.ui-btn-up-a {
    border: 1px solid rgb(204, 204, 204);
    // remove this background
    background: linear-gradient(rgb(255, 255, 255), rgb(241, 241, 241)) repeat scroll 0% 0% rgb(238, 238, 238);
    font-weight: bold;
    color: rgb(47, 62, 70);
    text-shadow: 0px 1px 0px rgb(255, 255, 255);
}
或者将其更新为
background:none

也要去掉边界

.ui-btn-up-a {
    box-shadow: none;
}

.ui-btn-inner { 
   border: none;
}

这是从右标题上的“3行”菜单设置背景。好的,现在我找到了一个快速解决方案,在文件标题中的a中添加此代码:

      .ui-btn-right { background: none; display: none; border: none !important; }

现在,你可以看到一个非常薄的边框,我不知道如何隐藏或删除它。

谢谢,但不起作用。我在.ui-btn-up-a{border:1px solid{dd0000/*{a-bup-border}*/;background:none/*{a-bup-background-color}*/;字体大小:粗体;颜色:#2f3e46/*{a-bup-color}*/;…实时REST您可以在浏览器检查器中检查元素吗,我在那里尝试了它的工作。可能是某些css正在覆盖它。根据检查器,它存在于themes/MobileApp.cscan be…我发现一个解决方案发生了变化:.ui btn right{background:none;display:none;border:none!important;}。现在我只需要删除边框…你可以做的是使你的css更具体。ui header.ui-btn-up-a{}那么当另一个被加载时,不管事实如何,你的特定边框都会被选中是的,随着你上次的更新,它会好得多!现在只有一个底部薄边框(圆角)但它很难看到…非常感谢。从这个移除边框。ui-btn-up-a下的ui-btn-inner