WebsiteBaker Support (2.10.x) > General Help & Support

Problem with menu


Hi there I have problem with the Menu ... In the original HTML works fine, but after I put the PHP code - when the drop down goes over text become transparent and not clickable! What's wrong?

The error picture    and the original menu picture

Here is the site (still under construction)

Here is the original HTML site

Here is the code  the PHP and below the PHP is the original HTML code. Please help!

--- Code: ---<?php 
$open = '<li class="[if(class=menu-current||class=menu-parent){active}] [if(class==menu-expand){dropdown}]">
[if(class==menu-expand){<a href="[url]" class="dropdown-toggle hvr-bounce-to-bottom" data-toggle="dropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">[menu_title]<b class="caret"></b></a>}
else {<a href="[url]">[menu_title]</a>}]';

$aMenu          = 0,
$aStart         = SM2_ROOT, 
$aMaxLevel      = SM2_CURR+1,
$aOptions       = SM2_ALL,
$aItemOpen      = $open,
$aItemClose     = '</li>',
$aMenuOpen      = '<ul class="[if(level==0){nav navbar-nav} else {dropdown-menu}]">',
$aMenuClose     = '</ul>',
$aTopItemOpen   = false,
$aTopMenuOpen   = false

<!-- <nav class="navbar navbar-default">
<div class="container">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">Menu
<!-- Collect the nav links, forms, and other content for toggling -->
<!--<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="codes.html">Codes</a></li>
<li><a href="#" class="dropdown-toggle hvr-bounce-to-bottom" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gallery<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a class="hvr-bounce-to-bottom" href="gallery1.html">Gallery1</a></li>
<li><a class="hvr-bounce-to-bottom" href="gallery2.html">Gallery2</a></li>
<li><a class="hvr-bounce-to-bottom" href="icons.html">Font Icons</a></li>     
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
<div class="clearfix"> </div>
</nav> -->
--- End code ---

Just found the problem is in the CSS not in the PHP code.


[0] Message Index

Go to full version