我有一个我没有制作的自定义主题,我想知道是否还有,所以我可以隐藏菜单项(所以它们不会出现在菜单栏上)。也许样式表中的某些内容可以指示它吗?请帮忙!
<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 -->
答案 0 :(得分:0)
如果不在此处发布部分代码,但无法告诉您要隐藏的内容,但为什么不显示:无;&#39;菜单li?
*menu-item* {display: none;} //where menu item is the path to the menu item