BUG: Menu sometimes is vertical,sometimes horizontal

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Feb 06, 2015 12:02 pm
Reply with quote
Report this post
I set i menu for one category to showing me 3 columns. Sometimes works perfect, but after 5 min is vertical.
I search forum and wrote that might be because css cashed, but I don't know how to fix that.
Please, look at screenshot.
Also, I would like to add more columns (possible 4, 5) and how to fix this. Also I have columns in other menu items and when It showing me horizontal, is horizontal everywhere; when is vertical, is vertical everywhere

Thank you for your time.
User avatar
Senior Boarder

GK User
Tue Feb 10, 2015 11:27 am
Reply with quote
Report this post
Anybody there? I am waiting for response 5 days!!!!
User avatar
Senior Boarder

teitbite
Tue Feb 10, 2015 9:46 pm
Reply with quote
Report this post
Hi

Please remind me the url to Your site.
User avatar
Moderator

GK User
Tue Feb 10, 2015 9:53 pm
Reply with quote
Report this post
Hi, this is the website: http://goo.gl/gGg2xP.
I sent you details in PM.
User avatar
Senior Boarder

teitbite
Wed Feb 11, 2015 5:19 pm
Reply with quote
Report this post
Hi

I've send this to programmers. Will let You know when I'll have an answer.
User avatar
Moderator

teitbite
Thu Feb 12, 2015 11:25 am
Reply with quote
Report this post
Hi

Unfortunately none of the programmers were able to see the issue, but they suspect that it may be becuase of the order of script being loaded, so please edit file /js/gk.menu.js in template and change:

Code: Select all
jQuery(window).load(function() {


to

Code: Select all
jQuery(window).redy(function() {
User avatar
Moderator

GK User
Thu Feb 12, 2015 12:30 pm
Reply with quote
Report this post
Hello, thank you so much. I suspect that 'redy' is correct, and I put instead of that 'ready' and it okay. Am I have a right? Because with 'redy' it's the same, and with 'ready' it looks like okay.

Also, I am interesting, when I update the template, what will be with this customisation and which files I must keep and download before updating?
User avatar
Senior Boarder

teitbite
Fri Feb 13, 2015 10:41 pm
Reply with quote
Report this post
Hi

Yes that was a typo. It should be "ready".

During an update it's safer to update only files listed in the update page next to proper template version. But You should remember about this particular modification since it was not reported by other users, so it will not be changed in template packages.
User avatar
Moderator

GK User
Sun Mar 22, 2015 9:52 pm
Reply with quote
Report this post
Hi teitbite,

I had the same problem but i was not sure if it was happening only for me. I've also replaced the code, it seems ok for now.

Btw does it have any negative effect on page-speed?

About the problem, while loading page if you try to click or move over menu item with sub-menu, the sub-menu becomes vertical.
User avatar
Senior Boarder

teitbite
Wed Mar 25, 2015 6:38 pm
Reply with quote
Report this post
Hi

That's becuase script positioning it was not loaded yet.

There will be no speed drawback after this change.
User avatar
Moderator


cron