Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • galanghiruma Friend
    #194827

    Hy there,

    i add class like this

    <!– MAIN NAVIGATION –>
    <header id=”t3-mainnav” class=”wrap navbar navbar-default navbar-fixed-top navbar-collapse-fixed-top t3-mainnav”>

    but the menu still not sticky when i scroll to bottom. is there any advice for me?

    thanks,
    galang

    pavit Moderator
    #522855

    Hi

    In the header.php file you should have a section like this

    <!-- NAVBAR MAIN -->
    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <nav class="t3-navbar-collapse navbar-collapse collapse"></nav>
    <?php endif ?>
    <nav class="t3-navbar navbar-collapse collapse">
    <jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
    </nav>
    <!-- //NAVBAR MAIN -->

    galanghiruma Friend
    #522879

    <em>@pavit 411503 wrote:</em><blockquote>Hi

    In the header.php file you should have a section like this

    <!-- NAVBAR MAIN -->
    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <nav class="t3-navbar-collapse navbar-collapse collapse"></nav>
    <?php endif ?>
    <nav class="t3-navbar navbar-collapse collapse">
    <jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
    </nav>
    <!-- //NAVBAR MAIN -->

    </blockquote>

    hi pavit,

    thanks for your help but i’m already have that code on my header.php by default. do you know whats the other problem?

    thanks,
    galang

    galanghiruma Friend
    #523418

    sorry. it turns out there is a problem in that I have not updated browser. I am using chrome version 29, so I try with internet explore automatically menus are sticky. thanks to you all.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  galanghiruma 10 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum