HOME › WordPress Support › Mikmag WordPress theme › submenu not showing up next to its parent

This topic contains 9 replies, has 3 voices, and was last updated by  gail kingswell trueman 4 days, 11 hours ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11333

    Malkie Friedman
    Participant

    I am having a problem on my site: theboldedge.com that the submenus are not showing next to the parent menu item, it is stuck to the top…would you know what I would need to change in the theme.js file. here is the relevant code for the menu from there. // Menu // jQuery(’#theme-menu-main li’).each(function(index, element) { var item = jQuery(element); var itemPadding = parseFloat(item.css(‘padding-left’)); var itemMargin = parseFloat(item.css(‘margin-left’));

    var subMenu = item.children('ul'); var isSubmenu = item.parent().hasClass('sub-menu'); });
    var ANIMATE_SPEED = 100;
    subMenu.hide();
    // Add dropdown indicators // Menu root var imageWidth = 0; if (!isSubmenu && subMenu.length) { var image = jQuery(''); image.appendTo(item); imageWidth = 16;
    // Submenus in submenus } else if (isSubmenu && subMenu.length) { var raquo = jQuery(' » '); raquo.appendTo(item.children('a')); }
    // Hover functions item.hover(function() { //var top = item.position().top; //var left = item.position().left;
    var top = item.css('top'); var left = item.position().left; if (isSubmenu) { top = -1 * (item.height()/3) ; left = item.outerWidth(true); } else { top += item.height(); left += itemPadding + itemMargin; }
    subMenu.css('top', top); subMenu.css('left', left);
    subMenu.stop(true, true).fadeIn(ANIMATE_SPEED * 3);
    }, function() { subMenu.stop(true, true).fadeOut(ANIMATE_SPEED * 3); });

    #11342

    kevin(Staff)
    Key Master

    Hi Malkie,

    It looks like you managed to solve the problem. If I’m mistaken, please do tell me

     

    Kevin

    #11350

    Malkie Friedman
    Participant

    no I did not it is not working. please see on theboldedge.com

    #11361

    kevin(Staff)
    Key Master

    I think I might not properly understand what the problem is then.

    I’ve added two screenshots to this post displaying both the submenus i see on your website and those i see on ours. I don’t see anything strange happening on yours. Could you explain me what the problem is exactly?

     

    Kevin

    Attachments:
    You must be logged in to view attched files.
    #11373

    Malkie Friedman
    Participant

    when you hover on the graphic design foundations-portfolio does not appear next to it , but appears on top of menu

    #11376

    kevin(Staff)
    Key Master

    Hi Malkie,

    I see the problem is in the third-level menus (sub-sub-menus) I initially thought you meant second-level menus (sub-menus).

    I see the problem you mean now and am addressing this to our development team who are currently working on a mikmag update. That way they’ll be able to take a look at this issue for the upcoming update.

    Kevin

    #11382

    Malkie Friedman
    Participant

    please tell me how I can fix it now for myself, since I do not know the eta for the update

    #11387

    kevin(Staff)
    Key Master

    I have requested for our developer working on this theme’s updates to share the fix details with you on this post if it’s a small fix to help you along earlier than the update itself.

    Kevin

    #11394

    Malkie Friedman
    Participant

    thank you :)

    #11402

    I too have the same problem so if there is a small interim fix for this problem I would be keen for you to share it with us all. Thanks in advance for any quick help you can provide for this issue.

    Gailstorm

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Close
WANNA KNOW WHAT'S COOKING?
Stay tunend, we'll keep you posted!

Twitter

Facebook

Google+