因此,我正在使用Bootstrap在Wordpress网站上工作。
我将Bootstrap的导航栏用于与WP集成的菜单。
我将主页作为导航栏中的链接作为“主页”。
我希望出现一个glyphicon,而不是文本,而不是“ Home”作为文本。
我想我可以为此使用CSS ...
#menu-item-55 {
/* something that removes text and adds the icon */
}
但是在引导程序中,我必须使用这样的图标
<span class="glyphicon glyphicon-search"></span>
任何人?
谢谢
最佳答案
我认为可以通过添加自定义链接并将其放在导航标签中来做到这一点。
我仍然想要另一种方式。 :D
干杯
关于css - WordPress菜单+ Bootstrap + Glyphicon代替文本,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19434779/