WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
Hi gilly !I need the same you solved, could you tell me how you did ?I´m using multiflex-3 template based...Thanks in advance !Pablo.-
have a look at the allcss2 template. Grab the hovers.htc file, and use the navigation css in screen.css. Then grab the sm2 code from the index.php file - put all this into your multiflex style template replacing the old stuff and you should be good to go from there. Obviously you will need to make changes to the css to make it match with your own style.
<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, '<ul id="header_menu" class="menu">'); ?><br />
/*Drop-down menu*/.header-bottom {width: auto;display:block;clear:both;}/* Remove List Formattings~~~~~~~~~~~~~~~~~~~~ */ ul.menu, li.menu { list-style-type: none; margin: 0px; padding: 0px;}/* Header menu */ //#header_menu {position: absolute; margin-left: 20px;background:#555;}//#header_menu li {line-height: normal;}//ul#header_menu {z-index: 10; clear: both;}.nav2 {white-space:nowrap /*IE hack*/; float:left; width:900px; border:none; background:rgb(225,225,225) url(./img/bg_head_bottom_nav.jpg) no-repeat; color:rgb(75,75,75); font-size:130%;} /*Color navigation bar normal mode*/.nav2 ul { list-style-type:none;/* (Disappearing List-Background) http://www.positioniseverything.net/explorer/ie-listbug.html */ position: relative; /* Fix the Stupid IE6 Bug */ }.nav2 ul li {float:left; z-index:auto !important /*Non-IE6*/; z-index:1000 /*IE6*/; border-right:solid 1px rgb(175,175,175);}.nav2 ul li a {float:none !important /*Non-IE6*/; float:left /*IE-6*/; display:block; height:3.1em; line-height:3.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:bold; color: rgb(100,100,100);}/* Root Level Link Formatting */.nav2 ul li a:hover, .nav2 li a:focus {background-color:rgb(210,210,210); text-decoration:none;}.nav2 li a:active, .nav2 ul li a.active {background-color:rgb(210,210,210); text-decoration:none;}/* Current page Customisations*/.nav2 li.menu-current a {background: #000; color: #fff; border-bottom: 1px solid #000;}.nav2 li.menu-current a {font-weight: bold;} /* 2nd Child menu */.nav2 .menu li ul {position: absolute; width: 10em; margin: 0; display: none; text-transform: none; border: none; font-size: 100%;}.nav2 .menu li ul li {width: 10.5em; text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: auto;}.nav2 .menu li ul a {width: 10em; height:auto; line-height:1.3em; margin-left:-1px; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);}/* 2nd Child link hover */.nav2 .menu li ul a:hover {color: #4b4c4d; background: #666; border: 0; color:#fff;}/* Show and hide */.nav2 .menu li:hover ul, .nav2 .menu li a:focus ul, .nav2 .menu li.subMenu ul {display: none;}.nav2 .menu li ul ul { display: block;}.nav2 .menu li:hover ul ul, .nav2 .menu li.subMenu ul ul {display: none;}.nav2 .menu li:hover ul, .nav2 .menu li li:hover ul, .nav2 .menu li.subMenu ul, .nav2 .menu li li.subMenu ul {display: block;}/* 3rd Child Menu Appreances */.nav2 .menu li ul li ul li a { width: 10em; height:auto; line-height:1.3em; margin-left:0; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);}/* Positioning the Pop-out Drops */.nav2 li {position: relative;}.nav2 ul ul ul { position: absolute; top: 1px; left: 119%;}
I ran to the same problem. I have a 4 level menu that did work propery. I used AllCSS2 showmenu2 call and I took the ALLCSS2 CSS and modified it so the look would be Multiflex-3.Here is the ShowMenu2 call you need to put in the index.php fileCode: [Select]<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, '<ul id="header_menu" class="menu">'); ?><br /> Here is the MUltiflex-3 css now in the layout_setup.css for the nav2 navigation level section that controls the dropdowns (BTW, you could also get the css from the website baker site itself http://www.websitebaker2.org/en/home.php by looking at the source file of the web page and looking at the css that controls the dropdowns on the WB site itself.):Code: [Select]/*Drop-down menu*/.header-bottom {width: auto;display:block;clear:both;}/* Remove List Formattings~~~~~~~~~~~~~~~~~~~~ */ ul.menu, li.menu { list-style-type: none; margin: 0px; padding: 0px;}/* Header menu */ //#header_menu {position: absolute; margin-left: 20px;background:#555;}//#header_menu li {line-height: normal;}//ul#header_menu {z-index: 10; clear: both;}.nav2 {white-space:nowrap /*IE hack*/; float:left; width:900px; border:none; background:rgb(225,225,225) url(./img/bg_head_bottom_nav.jpg) no-repeat; color:rgb(75,75,75); font-size:130%;} /*Color navigation bar normal mode*/.nav2 ul { list-style-type:none;/* (Disappearing List-Background) http://www.positioniseverything.net/explorer/ie-listbug.html */ position: relative; /* Fix the Stupid IE6 Bug */ }.nav2 ul li {float:left; z-index:auto !important /*Non-IE6*/; z-index:1000 /*IE6*/; border-right:solid 1px rgb(175,175,175);}.nav2 ul li a {float:none !important /*Non-IE6*/; float:left /*IE-6*/; display:block; height:3.1em; line-height:3.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:bold; color: rgb(100,100,100);}/* Root Level Link Formatting */.nav2 ul li a:hover, .nav2 li a:focus {background-color:rgb(210,210,210); text-decoration:none;}.nav2 li a:active, .nav2 ul li a.active {background-color:rgb(210,210,210); text-decoration:none;}/* Current page Customisations*/.nav2 li.menu-current a {background: #000; color: #fff; border-bottom: 1px solid #000;}.nav2 li.menu-current a {font-weight: bold;} /* 2nd Child menu */.nav2 .menu li ul {position: absolute; width: 10em; margin: 0; display: none; text-transform: none; border: none; font-size: 100%;}.nav2 .menu li ul li {width: 10.5em; text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: auto;}.nav2 .menu li ul a {width: 10em; height:auto; line-height:1.3em; margin-left:-1px; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);}/* 2nd Child link hover */.nav2 .menu li ul a:hover {color: #4b4c4d; background: #666; border: 0; color:#fff;}/* Show and hide */.nav2 .menu li:hover ul, .nav2 .menu li a:focus ul, .nav2 .menu li.subMenu ul {display: none;}.nav2 .menu li ul ul { display: block;}.nav2 .menu li:hover ul ul, .nav2 .menu li.subMenu ul ul {display: none;}.nav2 .menu li:hover ul, .nav2 .menu li li:hover ul, .nav2 .menu li.subMenu ul, .nav2 .menu li li.subMenu ul {display: block;}/* 3rd Child Menu Appreances */.nav2 .menu li ul li ul li a { width: 10em; height:auto; line-height:1.3em; margin-left:0; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);}/* Positioning the Pop-out Drops */.nav2 li {position: relative;}.nav2 ul ul ul { position: absolute; top: 1px; left: 119%;}I hope this helps someone else in the future.