WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Problem with menu
  • Print
Pages: [1]   Go Down

Author Topic: Problem with menu  (Read 13912 times)

Offline rumen

  • Posts: 480
  • Gender: Male
Problem with menu
« on: February 10, 2018, 10:58:47 PM »
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)  http://yourblindsmalta.com

Here is the original HTML site https://w3layouts.com/preview/?l=/triplex-interior-category-flat-bootstrap-responsive-web-template/

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

Code: [Select]
<?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>}]'
;


show_menu2(
$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
);?>

    </div>
</div>
</nav>

<!-- <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
</button>
</div>
<!-- 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>     
</ul>
</li>
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="clearfix"> </div>
</div>
</nav> -->
Logged

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Problem with menu
« Reply #1 on: February 10, 2018, 11:45:30 PM »
Just found the problem is in the CSS not in the PHP code.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Problem with menu
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2