test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rl27 Friend
    #160479

    Hi. I am trying to move the logo in this template to inside the menu and to the left with the menu on the right like in this template. http://www.joomlart.com/demo/#templates.joomlart.com/ja_halite Haven’t been able to figure it out yet and was hoping someone could help. Thanks.

    Phill Moderator
    #377618

    Assumin you are using the J1.5 version open templates>ja_rasite>layouts>blocks>mainnav.php and replace all the code therin with the code below

    <div id="ja-mainnav" class="wrap">
    <div class="main clearfix">
    <?php
    $siteName = $this->sitename();
    if ($this->getParam('logoType')=='image'): ?>
    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText');
    $sloganText = (trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-sloganText');?>
    <div class="logo-text">
    <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu ($this->getParam('startlevel',0), $this->getParam('endlevel',-1)); ?>
    </div>
    </div>
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="wrap">
    <div class="main clearfix">
    <?php $jamenu->genMenu (1); ?>
    </div>
    </div>
    <?php endif;?>
    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    then open templates>ja_rasite>layouts>blocks>header.php and remove the code highlighted in red below

    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) { ?>
    <div id="ja-header" class="wrap" style="margin-top: 76px;">
    <?php } else { ?>
    <div id="ja-header" class="wrap">
    <?php } ?>
    <div class="main">
    <div class="inner clearfix">
    <?php
    $siteName = $this->sitename();
    if ($this->getParam('logoType')=='image'): ?>
    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText');
    $sloganText = (trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-sloganText');?>
    <div class="logo-text">
    <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>

    <?php if($this->countModules('search')) : ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="search" />
    </div>
    <?php endif; ?>
    </div>
    </div>
    </div>

    You will then have to edit a little css but that all depends on the logo you are using.

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

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

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