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. Elay
  2. General Discussion
  3. Thursday, 19 September 2013
  4.  Subscribe via email
Hello,

I would like to add logo to the menu that spread out of the menu row.
Example: cars.com

How can I do that?


Thanks!
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Elay,

You can always modify the html structure of the markup.
For example. You can remove the mainnav.php block from the template file (tpls folder)
And change the content of the header.php to something like this.


$sitename = $this->params->get('sitename') ? $this->params->get('sitename') : JFactory::getConfig()->get('sitename');
$slogan = $this->params->get('slogan', '');
$logotype = $this->params->get('logotype', 'text');
$logoimage = $logotype == 'image' ? $this->params->get('logoimage', '') : '';
?>

<!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="wrap t3-mainnav navbar-collapse-fixed-top">
<div class="navbar container">
<div class="navbar-inner row-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>

<!-- LOGO -->
<div class="span3">
<div class="logo logo-<?php echo $logotype ?>">
<div class="brand">
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image' && $logoimage): ?>
<img class="logoimg" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
</div>
<!-- //LOGO -->

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

Then you need add some css style to make it work.

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.