Multicolumn mainmenu collapse in jomsocial

GK User
Sun Sep 13, 2015 11:14 pm
Dear Team,
I'm sorry but there are problems between jomsocial and the main menu in multicolumn version.
In all pages the main menu multicolumn is working perfectly but not in jomsocial page, where columns are a real mess. What's going on?
Best,

Marco
/*I'm working in localhost, unfortunately I have no way to upload the site to allow you the check. Please, I'd be happy if you can check it on your demo version*/
User avatar
Expert Boarder

GK User
Sun Sep 13, 2015 11:16 pm
I developed the multicolumn following the documentation at https://www.gavick.com/documentation/un ... mns-plugin .
It's the first time that I find trouble in this.
Thanks
User avatar
Expert Boarder

teitbite
Mon Sep 14, 2015 11:49 am
Hi

Please tell me the url to the page where I will be able to see this problem.
User avatar
Moderator

GK User
Mon Sep 14, 2015 10:25 pm
Hi Teitbite,
I'm working in localhost, but tomorrow I might show you the problem via Skype/teamviewer.
In the while, I found that the dropdown .childcontent only on jomsocial page can't be wider than 363px.

That's why all the columns are no more then 2 in a row.

Thanks, and see you tomorrow :-)
User avatar
Expert Boarder

GK User
Fri Sep 18, 2015 11:39 am
Someone that can support me please,
Best
Rob
User avatar
Expert Boarder

teitbite
Sat Sep 19, 2015 9:18 am
Hi

I'm afraid I cannot use Skype for a while. I'm in a business trip and already using internet from my phone. Please put the site on-line so I'll be able to check the problem or just ignore it till site can be moved to a live server and let me know so I'll check the problem.
User avatar
Moderator

GK User
Mon Sep 21, 2015 1:44 pm
Dear Teitbite,
I wrote you a private message with the information to hel me,
Thanks,
Rob
User avatar
Expert Boarder

GK User
Wed Sep 23, 2015 1:45 pm
Someone that can support me please, I imagine that you're all super busy at the moment, but please I need help, that's look a serious template issue,
Best
Rob
User avatar
Expert Boarder

teitbite
Thu Sep 24, 2015 7:49 pm
Hi

Please make sure my access to joomla panel is full. I cannot edit template files at the moment or even better please send me an access to FTP, so it will be easier for me to change files.

Than please try add this to override.css:

Code: Select all
.gkMenu > ul li div.childcontent {
    border: medium none;
}


it's just a test. I need to know if this 2 additional pixels from border are not causing this issue.
User avatar
Moderator

teitbite
Thu Sep 24, 2015 8:17 pm
Hi

One more question. What operating system and version of browser are You using ? I checked Your site in most common browsers also tested in different operating systems in browserstack, but cannot replicate this issue.
User avatar
Moderator

teitbite
Mon Sep 28, 2015 10:25 am
Hi

Apparently a solution presented here: https://www.gavick.com/forums/storefron ... menu-46395 works for this problem as well :)
User avatar
Moderator

GK User
Mon Sep 28, 2015 11:20 am
Yes It works perfectly. Many Thanks Teitbite for your solution and support.
I would suggest only to change in gk.menu.js (first line) this code:
jQuery(window).load(function() {

to

jQuery(window).ready(function() {

so the menu will show up correctly from the beginning
User avatar
Expert Boarder

GK User
Mon Sep 28, 2015 10:28 pm
I'm sorry to open again this topic, but this issue is still not solved. I found that the current FIX negatively affects all the other menu items. Follow the topic on the page where it started, here https://www.gavick.com/forums/storefron ... menu-46395
User avatar
Expert Boarder

teitbite
Wed Sep 30, 2015 11:16 am
Hi

I answered in wrong topic ;/ Must be too tired :( Here is what I wrote:

Please send me an access to Your site. None of the accesses I had is working now. You can send it via PM or on Skype. I see You were writing there ;/ I left Skype to live on it's own, since I had too much work. Sorry for that ;/
User avatar
Moderator

GK User
Mon Oct 05, 2015 9:51 am
Hi Teitbite, I've sent to you everithing via PM. Let me know, :-)
User avatar
Expert Boarder

teitbite
Mon Oct 05, 2015 1:24 pm
Hi

I've checked that and You have copied wrong code. In the thread we were re-using for this there were 2 similar codes, last one mentioned in discussion had a fix for this problem already.

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
function setMenuWidth() {
 if( $('.childcontent-inner').size() > 0 ) {
  $('.childcontent-inner').each(function(){
   var thiswidth = 4;
   $(this).find('> .gkcol').each(function(){
    thiswidth += 170;
   });
   $(this).parent().width(thiswidth);
  });
 } else {
  setTimeout(setMenuWidth,50);
 }
}

$(setMenuWidth);
});})(jQuery)</script>


was all about replacing:

Code: Select all
$(this).find('.gkcol').each(function(){


with

Code: Select all
$(this).find('> .gkcol').each(function(){
User avatar
Moderator

GK User
Mon Oct 05, 2015 1:36 pm
Thank you so much. Sorry, I read that post but I didn' t pick up the differene in the code. Many Thanks :-)
User avatar
Expert Boarder

teitbite
Thu Oct 08, 2015 9:26 am
Hi

No problem. Glad I could help :)
User avatar
Moderator


cron