Premium WordPress Themes, Templates & Plugins Support WordPress Theme Support LastPoint How to Keep Ajax Login Popup from disappearing

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Support Team 4 years, 6 months ago.

  • Author
  • #2936

    Post count: 27

    How can I keep the ajax login popup from disappearing on hover off? My goal would be to keep it as a modal popup window. Is it possible within the design? Thanks.

  • #2938

    Support Team
    Post count: 739

    Open the in/js/framework.js and delete thi line:

    `/*Topheader login menu*/
    $(‘#themeofwp-ajax-login > li’).bind(‘mouseover’, openSubMenu);
    $(‘#themeofwp-ajax-login > li’).bind(‘mouseout’, closeSubMenu);
    function openSubMenu() {
    $(this).find(‘ul’).css(‘visibility’, ‘visible’);
    function closeSubMenu() {
    $(this).find(‘ul’).css(‘visibility’, ‘hidden’);
    }; `

    find the .themeofwp-loggedin li ul { in inc/css/themeofwplogin.css and delete:

    visibility: hidden;

You must be logged in to reply to this topic.