gpt4 book ai didi

css - 如何使用 Big Cartel 隐藏菜单

转载 作者:行者123 更新时间:2023-11-28 10:27:14 35 4
gpt4 key购买 nike

我有一个我没有制作的自定义主题,我想知道是否有办法制作它以便我可以隐藏菜单项(这样它们就不会出现在菜单栏上)。也许样式表中的某些内容可以决定它?请帮忙!

 <div id="store" class="clearfix">

<div id="header">

<h2 id="logo" {% if theme.image != blank %}class="image"{% endif %}><a href="/" id="store_home" title="{{ store.name | escape }}">{% if theme.image != blank %}<img height="35"src="{{ theme.image.url }}" />{% endif %}</a></h2>

<div id="top-pages">
<ul>
<li>{{ pages.home | link_to }}</li>{% for page in pages.all %}<li>{{ page | link_to }}</li>{% endfor %}<li>{{ pages.contact | link_to }}</li>
</ul>
</div>

<!-- #top-pages -->

最佳答案

如果不在此处发布一些代码,就无法告诉您要隐藏什么,但您为什么不直接“显示:无;”菜单里?

*menu-item* {display: none;} //where menu item is the path to the menu item

关于css - 如何使用 Big Cartel 隐藏菜单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23680268/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com