WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Make Menu Show Only Two Levels
Fisherman:
Hello,
How can I get the menu to only show 2 levels. Parent, Child and no subs?
Thanks
Fisherman:
Do I change this and how?
--- Code: ---<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, '<ul class="nav">'); ?>
--- End code ---
Thanks again
Fisherman:
Solved.
In the css...
Changed this:
--- Code: ---.nav li li.hover ul {
left: 100%;
top: 0;
}
--- End code ---
to this:
--- Code: ---.nav li li.hover ul {
display: none;
left: 100%;
top: 0;
}
--- End code ---
dbs:
To late?
You have found this?
http://www.WebsiteBaker.org/forum/index.php/topic,23012.0.html
Something like this could be the right one
--- Code: ---<?php show_menu2(0, SM2_ROOT, SM2_START+1, ....
--- End code ---
Fisherman:
Thanks DBS! That is a better solution. Doing it now.
Navigation
[0] Message Index
[#] Next page
Go to full version