Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • titorus Friend
    #682166

    Hi, how I can move the menu, in this case move it down?

    thanks

    pavit Moderator
    #682215

    Hi

    Try to add to the custom.css file this line of code

    .t3-megamenu > .navbar-nav {
    margin:50px;
    }

    pavit Moderator
    #747749

    Hi

    Try to add to the custom.css file this line of code

    .t3-megamenu > .navbar-nav {
    margin:50px;
    }

    titorus Friend
    #682712

    OK, it works, but I have a problem, if you increase the margin on 70px, the menu is divided into 2 lines and the size of the space between the menu and the main banner increases, how I can move the menu down without affecting the distance with banner below or to divide into 2 lines?

    thanks

    Thanks

    titorus Friend
    #747995

    OK, it works, but I have a problem, if you increase the margin on 70px, the menu is divided into 2 lines and the size of the space between the menu and the main banner increases, how I can move the menu down without affecting the distance with banner below or to divide into 2 lines?

    thanks

    Thanks

    pavit Moderator
    #682714

    Hi

    Try in this way :

    Open this file templatesja_charitytplsblocksheader.php around line 95 find this :

    <div class="col-sm-12 col-lg-9">
    <nav id="t3-mainnav" class="wrap navbar navbar-default t3-mainnav">

    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <div class="t3-navbar-collapse navbar-collapse collapse"></div>
    <?php endif ?>

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

    Change the code in red to

    <div class=”col-sm-9 col-lg-9″>

    So it become

    <div class="col-sm-9 col-lg-9">
    <nav id="t3-mainnav" class="wrap navbar navbar-default t3-mainnav">

    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <div class="t3-navbar-collapse navbar-collapse collapse"></div>
    <?php endif ?>

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

    pavit Moderator
    #747997

    Hi

    Try in this way :

    Open this file templatesja_charitytplsblocksheader.php around line 95 find this :

    <div class="col-sm-12 col-lg-9">
    <nav id="t3-mainnav" class="wrap navbar navbar-default t3-mainnav">

    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <div class="t3-navbar-collapse navbar-collapse collapse"></div>
    <?php endif ?>

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

    Change the code in red to

    <div class=”col-sm-9 col-lg-9″>

    So it become

    <div class="col-sm-9 col-lg-9">
    <nav id="t3-mainnav" class="wrap navbar navbar-default t3-mainnav">

    <?php if ($this->getParam('navigation_collapse_enable')) : ?>
    <div class="t3-navbar-collapse navbar-collapse collapse"></div>
    <?php endif ?>

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

    titorus Friend
    #682718

    The problem remains, if I put the margin to 60px, the distance between the menu and the main banner increases, if placed 70px is divided into 2 lines.

    titorus Friend
    #748001

    The problem remains, if I put the margin to 60px, the distance between the menu and the main banner increases, if placed 70px is divided into 2 lines.

    pavit Moderator
    #682719

    <em>@titorus 491295 wrote:</em><blockquote>The problem remains, if I put the margin to 60px, the distance between the menu and the main banner increases, if placed 70px is divided into 2 lines.</blockquote>

    Please post a screen shot of your desired layout for it because it is not clear to me how you want it

    pavit Moderator
    #748002

    <em>@titorus 491295 wrote:</em><blockquote>The problem remains, if I put the margin to 60px, the distance between the menu and the main banner increases, if placed 70px is divided into 2 lines.</blockquote>

    Please post a screen shot of your desired layout for it because it is not clear to me how you want it

    titorus Friend
    #682722

    like image attach, thanks

    titorus Friend
    #748005

    like image attach, thanks

    Adam M Moderator
    #684175

    Hi @titorus,

    Please open file templates/ja_charity/local/css/themes/eathisa/custom.css then remove this code :

    .t3-megamenu > .navbar-nav {
    margin: 50px;
    }

    look for this code :

    .t3-megamenu > .navbar-nav {
    margin: 50px;
    background: #808080;
    }

    and change the margin property to margin-top, increase the value as you want :

    .t3-megamenu > .navbar-nav {
    margin-top: 50px;
    background: #808080;
    }

    Adam M Moderator
    #748639

    Hi @titorus,

    Please open file templates/ja_charity/local/css/themes/eathisa/custom.css then remove this code :

    .t3-megamenu > .navbar-nav {
    margin: 50px;
    }

    look for this code :

    .t3-megamenu > .navbar-nav {
    margin: 50px;
    background: #808080;
    }

    and change the margin property to margin-top, increase the value as you want :

    .t3-megamenu > .navbar-nav {
    margin-top: 50px;
    background: #808080;
    }

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

This topic contains 15 replies, has 3 voices, and was last updated by  Adam M 9 years, 1 month ago.

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