-
AuthorPosts
-
September 7, 2015 at 6:46 pm #682166
Hi, how I can move the menu, in this case move it down?
thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 9, 2015 at 4:40 pm #682712OK, 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
September 9, 2015 at 4:40 pm #747995OK, 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 9, 2015 at 4:51 pm #682714Hi
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>1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 9, 2015 at 4:51 pm #747997Hi
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>1 user says Thank You to pavit for this useful post
September 9, 2015 at 5:27 pm #682718The 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.
September 9, 2015 at 5:27 pm #748001The 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 9, 2015 at 5:30 pm #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
1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 9, 2015 at 5:30 pm #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
1 user says Thank You to pavit for this useful post
September 9, 2015 at 5:48 pm #682722like image attach, thanks
September 9, 2015 at 5:48 pm #748005like image attach, thanks
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
September 15, 2015 at 11:34 am #684175Hi @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 ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
September 15, 2015 at 11:34 am #748639Hi @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;
} -
AuthorPosts
This topic contains 15 replies, has 3 voices, and was last updated by Adam M 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum