1. 程式人生 > >終於把joomla 的 protostar 模版的菜單,從垂直改到水平了

終於把joomla 的 protostar 模版的菜單,從垂直改到水平了

-c pin space nta ase -h cal pen resp

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.

技術分享

終於把joomla 的 protostar 模版的菜單,從垂直改到水平了