How to change menu position?

Gamebox for Joomla 1.5 support forum by GavickPro
GK User
Mon Sep 27, 2010 11:17 pm
Hello, I want to use that template in a project, but I need the menu at the bottom of the logo.. I did a quick image just to show exactly what i need.

Please how can i put the menu, for example in the banner 2 position or breadcrumb.. I don't want at the top.

thanks
User avatar
Fresh Boarder

GK User
Tue Sep 28, 2010 8:52 am
try add this at the end of templates.css

Code: Select all
#gk-nav { position:absolute; top:110px; }
User avatar
Platinum Boarder

GK User
Wed Sep 29, 2010 10:04 am
change the whole mainnav.php in gk_gameboxlayoutsblocks to:

<?php if( $this->countModules('banner1') || $this->getParam('logoType') !== 'none') : ?>
<div id="gk_top">
<?php if ($this->getParam('logoType')=='image'): ?>
<h1 class="logo"> <a href="index.php" title="<?php echo $this->sitename(); ?>"><span><?php echo $this->sitename(); ?></span></a> </h1>
<?php elseif($this->getParam('logoType')=='text') : ?>
<div class="logo-text">
<h1><a href="index.php" title="<?php echo $this->sitename(); ?>"><span><?php echo GK_LOGO; ?></span></a></h1>
<p class="site-slogan"><?php echo GK_SLOGAN;?></p>
</div>
<?php endif; ?>

<?php if( $this->countModules('banner1') ): ?>
<div id="banner1" class="head">
<jdoc:include type="modules" name="banner1" style="none" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<div id="gk-nav" class="clearfix">
<div id="gk-mainnav" class="clearfix">
<?php if (($gkmenu = $this->loadMenu())) $gkmenu->genMenu ($this->getParam('startlevel',0), $this->getParam('endlevel',-1)); ?>
</div>
</div>
<?php if ($this->hasSubmenu() && ($gkmenu = $this->loadMenu())) : ?>
<div id="gk-subnav" class="clearfix">
<?php $gkmenu->genMenu(1); ?>
</div>
<?php endif;?>
<ul class="no-display">
<li><a href="<?php echo $this->getCurrentURL();?>#gk-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
</ul>
User avatar
Senior Boarder


cron