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

Viewing 1 reply thread
  • Author
    Posts
    • #2936
      jpwelch
      Member

      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
      ThemeofWP
      Keymaster

      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;

Viewing 1 reply thread
  • You must be logged in to reply to this topic.