How can I display the main menu on the home page?

GK User
Mon Sep 08, 2014 6:06 pm
Hi,

I want to display the mainmenu on the home page in the mainmenu module position area.

Can you please advise how can I do that?
User avatar
Junior Boarder

GK User
Tue Sep 09, 2014 1:24 pm
Hi,

I have moved my logo on the left, and want to place the menu bar on the front page as static so that it is visible when I open the page.

I want to remove the header_bg module as well from the front page as I am replacing it with Image Show GK4.

I have done the following changes to keep the logo static on the left side by following other post:

To disable the animation on the menu, please open the layouts/default.php file and please change the following line in 69:
<div id="gkHeaderNav"<?php if(in_array('frontpage', $page_suffix_table) === FALSE) : ?> class="static"<?php endif; ?>>

TO

<div id="gkHeaderNav"<?php if(in_array('frontpage', $page_suffix_table) === FALSE) : ?> class="static active"<?php endif; ?>>


Then please also open file js/gk.scripts.js and please change the following fragment in line 90:
if(jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {
TO
if(jQuery(document.body).hasClass('frontpage') && jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {

Please advise.
User avatar
Junior Boarder


cron