Custom menu stick with the header

GK User
Thu Mar 05, 2015 7:19 am
Hello All:

On my site I have added a custom mobile menu and it works a lot better than the stock one in my opinion. However, the closest position I can get to the MainMenu is the "Header" position. Is there anyway to make my custom menu stick with the header nav when scrolling down?

Thanks in advance,

Michael K.
User avatar
Senior Boarder

GK User
Thu Mar 05, 2015 7:20 am
You could create a custom module position and place the module there:
https://www.gavick.com/documentation/jo ... -position/
User avatar
Moderator

GK User
Thu Mar 05, 2015 8:58 am
I'm not very good at .php. Is there any way to get some help with this?

The URL is : http://www.store.koernervisions.com
User avatar
Senior Boarder

GK User
Fri Mar 06, 2015 8:37 am
Cyberek wrote:You could create a custom module position and place the module there:
https://www.gavick.com/documentation/jo ... -position/


So I tried the tutorial you provided and had no luck.

Any help would be greatly appreciated.
User avatar
Senior Boarder

GK User
Sat Mar 07, 2015 10:38 am
Would it just be simpler to disable the sticky feature all together? If I could have it attached to the gkheadernav that would be fantastic.
User avatar
Senior Boarder

GK User
Sat Mar 07, 2015 8:46 pm
You can disable sticky menu...
Please edit: /templates/gk_storefront/css/override.css and add at its end:
Code: Select all
#gkHeaderTop {position: relative;}
#gkHeaderNav {position: relative; top: 0px;}
#gkHeader {padding-top: 0px;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator


cron