We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Xavier Maglott
  2. General Discussion
  3. Thursday, 08 August 2013
  4.  Subscribe via email
Hello,

I hope not everybody is on the beach !
I would be gratefull if someone could help for those 2 questions:
. how to center mainnav (dropline menu), I don't find the css solution
. how to add 2 modules on the same mainnav row, like this (with mainnav centered):
POSITION-1 MAINNAV POSITION-2

Many thanks.

Xavier
  71640 Saint-Martin-sous-Montaigu, France
Visit 
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Xavier,

I am not sure understand all your requirement.
Here the simple solution:

1. Open mainnav.php in \templates\your-template\tpls\blocks folder

Then you can change it to.
<div class="nav-block">
<div class="container">
<div class="row">

<div class="span3 nav-left <?php $this->_c('nav-left') ?>">
<jdoc:include type="modules" name="<?php $this->_p('nav-left') ?>" />
</div>

<nav id="t3-mainnav" class="span6 t3-mainnav">
<div class="navbar">
<div class="navbar-inner">

<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>

<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>

<div class="span3 nav-right <?php $this->_c('nav-right') ?>">
<jdoc:include type="modules" name="<?php $this->_p('nav-right') ?>" />
</div>

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


Now you can adjust the span width (span3-span6-span3 above) and publish module to these two new positions.

Hope it helps,

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.