[CUSTOM] Moving the Menu to top

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Sat Jan 08, 2011 5:26 pm
Hi :) I need to move the menu, so that it will be beneath the header / logo but outside of the main wrap. I will be changing the whole main wrap and I want the menu to be free of it. Any helps?
User avatar
Fresh Boarder

GK User
Sun Jan 09, 2011 8:33 am
this is a customization that reach beyond our support.
User avatar
Platinum Boarder

GK User
Sun Jan 09, 2011 2:27 pm
Hi

It's customization, but don't tell anyone. ;)

Open this file ../gk_yourshop/layouts/default.php and find this code:

Code: Select all
<?php $this->loadBlock('top') ?>
   
<div id="bg-wrap-left" class="main">
   <div id="bg-wrap-right" class="main">
      <!-- MAIN NAVIGATION -->
       <div id="gk-content-wrapper" class="main">           
           <!-- NAV -->
           <?php $this->loadBlock('nav'); ?>
           <!-- HEADER -->


replace with:

Code: Select all
<!-- NAV -->
<?php $this->loadBlock('nav'); ?>
<?php $this->loadBlock('top') ?>
   
<div id="bg-wrap-left" class="main">
   <div id="bg-wrap-right" class="main">
      <!-- MAIN NAVIGATION -->
       <div id="gk-content-wrapper" class="main">           
           <!-- HEADER -->


Them open this file ../gk_yourshop/layouts/blocks/nav.php and replace the following line:

Code: Select all
<div id="gk-nav" class="clearfix">


width

Code: Select all
<div id="gk-nav" class="clearfix main">


That's it. ;)


screen_2011-01-09.png
User avatar
Platinum Boarder

GK User
Mon Apr 11, 2011 3:38 pm
Had a problem after the search-to-top hack.
The menu was aligned left (not centered as it should)

This helped:

in template.css:

replace
Code: Select all
#gk-mainnav > div.gk-menu { background: transparent url('../images/style1/menu_right.png') no-repeat right 0; height: 43px; padding-right: 4px; }


with
Code: Select all
#gk-mainnav > div.gk-menu { background: transparent url('../images/style1/menu_right.png') no-repeat right 0; height: 43px; padding-right: 4px; margin: 0 auto; width: 910px; }


Hope tah helps if anyone has this "bug"
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.