Logo static

GK User
Thu Jul 24, 2014 8:34 am
Hi,

Is it possible to set the logo static instead of dynamic? I want the logo be on the left side when you visit the website.

Regards, Bruce
User avatar
Senior Boarder

GK User
Sat Jul 26, 2014 3:03 pm
Hello,

You can try to apply the active class for the menu bar forever and remove the script from gk.scripts which removes this class on scroll.
User avatar
Administrator

GK User
Sun Aug 03, 2014 4:05 pm
Ok! I dont know why you guys messed up the MENU in this template.

Logo on My Homepage(https://docs.google.com/file/d/0B5K2lySm1GVPc3BtdXdvNjBoaG8/edit?usp=drivesdk)works just fine but on Italian Home Page its a mess as the gkHeaderNav static(not Active) is visible https://docs.google.com/file/d/0B5K2lySm1GVPY29ZR2NFMUxfWTA/edit?usp=drivesdk


2) and how to make gkHeaderNav static(not Active) = gkHeaderNav static.active

3) On contacts or not homepage the gkHeaderNav is so mess and dancing here and there, how do I make it static?

Sorry to say this but this template NavBar is a mess, Hope you will keep the reviews in mind for future
User avatar
Senior Boarder

GK User
Mon Aug 04, 2014 3:01 pm
Hello,

Did you configured the page suffixes under the template features settings for the italian homepage as the same as for the main homepage?

If you want to disable the animation on the menu, please open the layouts/default.php file and please change the following line:

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


to:

Code: Select all
<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:

Code: Select all
if(jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {


to:

Code: Select all
if(jQuery(document.body).hasClass('frontpage') && jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {
User avatar
Administrator

GK User
Wed Aug 27, 2014 4:52 am
Hi,

I was having the same issue and this information helped to solve my first issue.

I am getting few issues which requesting for your kind advise as I am new to joomla.

Issue#1 I want to remove the logo from the home page. But would like to have the logo to other pagers. How can I do that?

Issue#2 After adding the vertical logo, when I am opening the page I can see that too much white space between Menu bar and the Title of the article. How can I increase the height of the menubar to my other pages?

I am eagerly waiting for your kind advise.
User avatar
Junior Boarder

GK User
Wed Aug 27, 2014 4:57 am
Please see the attached files

Here is my site http://bengalsolicitors.com.au/index.php/about
User avatar
Junior Boarder

GK User
Wed Aug 27, 2014 8:55 pm
Hello,

1. You can hide the logo by prefixing the CSS selectors with ".frontpage" - then it will work only on the frontpage.

2. I think that in your case decreasing the spaces will be better solution - you can change in the template.css file:

Code: Select all
#gkHeader.menu-visible {
padding-top: 145px;
}


to:

Code: Select all
#gkHeader.menu-visible {
padding-top: 80px;
}
User avatar
Administrator

GK User
Thu Aug 28, 2014 1:38 am
"1. You can hide the logo by prefixing the CSS selectors with ".frontpage" - then it will work only on the frontpage."

-- Please advise which file do I need to modify here?

"2. I think that in your case decreasing the spaces will be better solution - you can change in the template.css file:"

-- I tried to look for the codes that you have mentioned under 'gk_cloudhost/css/template.css' but couldn't find '#gkHeader.menu-visible'

Please advise if I'm looking into the right file.
User avatar
Junior Boarder

GK User
Thu Aug 28, 2014 2:19 am
Never mind. I found the codes that you have mentioned. I was looking into the wrong site.

It solved the problem space problem. You are simply awesome like this template.

I got another issue now.

Is it possible to have the logo in the middle on the HOME page when user open the page, but when the user will scroll the page the logo will stay on the left side of the menu bar (just like other pagers)?
User avatar
Junior Boarder

GK User
Thu Aug 28, 2014 3:48 pm
Please add the following code at the end of any CSS file:

Code: Select all
.frontpage #gkLogo,
.frontpage #gkLogo img {
   display: block;
   float: none!important;
   margin:  0 auto;
}
User avatar
Administrator

GK User
Thu Aug 28, 2014 4:43 pm
Thanks. It worked. Much appreciated for your quick reply.
User avatar
Junior Boarder

GK User
Mon Sep 01, 2014 7:06 pm
I have done like described below. I only have the problem that the menu is to far to the right and not visible in the browser. How can I solve this?

dziudek wrote:Hello,

Did you configured the page suffixes under the template features settings for the italian homepage as the same as for the main homepage?

If you want to disable the animation on the menu, please open the layouts/default.php file and please change the following line:

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


to:

Code: Select all
<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:

Code: Select all
if(jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {


to:

Code: Select all
if(jQuery(document.body).hasClass('frontpage') && jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {
User avatar
Senior Boarder

GK User
Tue Sep 02, 2014 10:51 am
@b2control - Please provide an URL to your website - without it I'm unable to help with your case.
User avatar
Administrator


cron