Header issue

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Tue Oct 17, 2017 8:27 am
Hi,
The logo after scrolling down, and returning to the top is not completely hidden.
please see this issue:
https://www.useloom.com/share/063d849fb ... 87f500cc98
Best regards
User avatar
Expert Boarder

GK User
Tue Oct 17, 2017 8:47 am
User avatar
Expert Boarder

Joshua M
Tue Oct 17, 2017 9:24 am
Hi,
Please edit your Creativity/js/gk.scripts.js file and change this line:
Code: Select all
jQuery('#gk-top').css('top', '-100px');

into:
Code: Select all
jQuery('#gk-top').css('top', '-120px');

adjust this top value if you need.
User avatar
Moderator

GK User
Tue Oct 17, 2017 10:40 am
Joshua M wrote:Hi,
Please edit your Creativity/js/gk.scripts.js file and change this line:
Code: Select all
jQuery('#gk-top').css('top', '-100px');

into:
Code: Select all
jQuery('#gk-top').css('top', '-120px');

adjust this top value if you need.

Hi Joshua,
I'm sorry but it does not work
Best Regards
Ops now it works, maybe the cache was not clean
User avatar
Expert Boarder

GK User
Tue Oct 17, 2017 6:22 pm
Hi Joshua,
I checked the site again.
With Google Chrome you can see well, with Google Canary and Firefox the problem still persists. :evil:
See images:
chrome.JPG

chromeCanary.JPG

Firefox.JPG

Rgds
User avatar
Expert Boarder

Joshua M
Wed Oct 18, 2017 7:58 am
Did you try other value i.e. "-140px" ?
User avatar
Moderator

GK User
Wed Oct 18, 2017 8:44 am
Joshua M wrote:Did you try other value i.e. "-140px" ?

so it works
Code: Select all
   if (pos >= 100) {
                    jQuery('#gk-top').css('top', jQuery('body').hasClass('admin-bar') ? '28px' : '0px');
                } else if (pos < 100) {
                    jQuery('#gk-top').css('top', '-150px');
                }

Best Regards
User avatar
Expert Boarder


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