移除 Foundation 6 下拉箭头
Removing Foundation 6 Dropdown Arrows
我无法使用我在网上找到的任何方法删除菜单上的下拉箭头。这是菜单,我不是很精通Foundation,所以我怀疑我的菜单有误。可以找到草稿 here。感谢您能给我的任何帮助。
<div class="row show-for-medium">
<div class="column large-12">
<div class="title-bar-left">
<img src="assets/img/ties_logo_header.jpg" class="site-logo"/>
</div>
<div class="title-bar-right" data-responsive-toggle="main-menu" data-show-for="medium"></div>
<div class="top-bar" id="main-menu">
<ul class="dropdown menu align-right" data-responsive-menu="medium-accordion">
<li><a href="#">About Us</a></li>
<li><a href="#">Our Team</a></li>
<li class="active"><a class="menu-item" href="#">Our Services</a></li>
<li><a href="#">News & Resources</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Dropdown</a>
<ul class="vertical menu is-dropdown-submenu-parent" style="position:absolute;z-index:10;">
<li><a href="#">Item 1A</a></li>
<li><a href="#">Item 1B</a></li>
<li><a href="#">Item 1C</a></li>
<li><a href="#">Item 1D</a></li>
<li><a href="#">Item 1E</a></li>
</ul>
</ul>
</div>
</div>
</div>
我能找到的唯一 css 修复程序,但没有用:
.dropdown.menu .is-dropdown-submenu-parent.is-down-arrow > a::after {
content: none !important; }
.dropdown.menu .is-dropdown-submenu-parent.is-left-arrow > a::after {
content: none !important; }
.dropdown.menu .is-dropdown-submenu-parent.is-right-arrow > a::after {
content: none !important; }
请尝试以下css:
<style>
.is-accordion-submenu-parent[aria-expanded="true"] > a::after{
display: none;
}
</style>
.is-dropdown-submenu-parent > a:after {
display:none!important;
}
我无法使用我在网上找到的任何方法删除菜单上的下拉箭头。这是菜单,我不是很精通Foundation,所以我怀疑我的菜单有误。可以找到草稿 here。感谢您能给我的任何帮助。
<div class="row show-for-medium">
<div class="column large-12">
<div class="title-bar-left">
<img src="assets/img/ties_logo_header.jpg" class="site-logo"/>
</div>
<div class="title-bar-right" data-responsive-toggle="main-menu" data-show-for="medium"></div>
<div class="top-bar" id="main-menu">
<ul class="dropdown menu align-right" data-responsive-menu="medium-accordion">
<li><a href="#">About Us</a></li>
<li><a href="#">Our Team</a></li>
<li class="active"><a class="menu-item" href="#">Our Services</a></li>
<li><a href="#">News & Resources</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Dropdown</a>
<ul class="vertical menu is-dropdown-submenu-parent" style="position:absolute;z-index:10;">
<li><a href="#">Item 1A</a></li>
<li><a href="#">Item 1B</a></li>
<li><a href="#">Item 1C</a></li>
<li><a href="#">Item 1D</a></li>
<li><a href="#">Item 1E</a></li>
</ul>
</ul>
</div>
</div>
</div>
我能找到的唯一 css 修复程序,但没有用:
.dropdown.menu .is-dropdown-submenu-parent.is-down-arrow > a::after {
content: none !important; }
.dropdown.menu .is-dropdown-submenu-parent.is-left-arrow > a::after {
content: none !important; }
.dropdown.menu .is-dropdown-submenu-parent.is-right-arrow > a::after {
content: none !important; }
请尝试以下css:
<style>
.is-accordion-submenu-parent[aria-expanded="true"] > a::after{
display: none;
}
</style>
.is-dropdown-submenu-parent > a:after {
display:none!important;
}