终于把joomla 的 protostar 模版的菜单,从垂直改到水平了

protostar-applying-menu-class-suffixes-horizontal-vs-vertical-menus.html

joomla 3.7.5 附带的这个template , 菜单丑的要死。 估计是新改的。

看网上的其他站点都没这毛病。

最后终于找到解决方法了。“ nav-pills“ 前面是有空格的

To make the menu horizonal, you can simply apply a preexisting menu class suffix directly in the back end of your Joomla site.

To begin, log into the back end of the site, and open the menu module that you've created.

Once the menu module is open, click on the "Options" tab and then click on "Advanced Options".

In the "Menu Class Suffix" field, type in " nav-pills".

Please be sure to hit the space bar one time before typing "nav-pills" to successfully apply the menu class suffix. Be sure to save your work.

原文地址:https://www.cnblogs.com/johnsonshu/p/7499655.html