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.8 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.8.x) »
  • Templates, Menus & Design »
  • template AdventureStrap Light menu
  • Print
Pages: [1]   Go Down

Author Topic: template AdventureStrap Light menu  (Read 5998 times)

Offline Klimentiy

  • Posts: 12
template AdventureStrap Light menu
« on: March 18, 2016, 07:47:48 PM »
 Hi! Help with a problem in the template AdventureStrap Light. I need when clicking on the 0 level of the menu opens the page. Here is the code menu.
Thanks to everyone who helped.

<!-- **********************************************************
            NAVIGATION
            ************************************************************ -->
            <nav class="navbar navbar-default">
                <div class="container">
                    <div id="navbar" class="navbar-collapse collapse">
                        <?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL | SM2_ALLINFO, '<li class="[if(class=menu-current||class=menu-parent){active}] [if(class==menu-expand&&level==0){dropmenu}] [if(level==0){color-random}] [if(class==menu-expand&&level==1){dropdown-submenu}]">[if(class==menu-expand){<a href="[url]">[menu_title] <i class="fa fa-caret-down"></i></a>}else {<a href="[url]">[menu_title]</a>}]', '</li>', '<ul class="[if(level==0){nav} else {dropdown-menu}]">', '</ul>', false, '<ul class="nav navbar-nav navbar-left">') ?>
                    </div><!-- /#navbar -->
                </div><!-- /.container -->
            </nav>
Logged

instantflorian

  • Guest
Re: template AdventureStrap Light menu
« Reply #1 on: March 18, 2016, 08:16:23 PM »
The concept of this template is: Create Menu Link objects on the first level of your site which link to the content pages on the 2nd level. Otherwise you will not succeed with this template.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • template AdventureStrap Light menu
 

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