Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #214064

    Hey guys.

    I’m using the plugin WP modal login, and everything is fine except that when it opens the page scrolls down ~200px.
    I think it has something to do with Enfold’s header?

    I tried it in other themes and it doesn’t do this.
    Hard to explain, but just go to the site.

    Any ideas?

    #214065
    This reply has been marked as private.
    #214788

    Hey!

    I’m not familiar with the plugin code but you must add a no-scroll class to the link. The link in the menu looks like

    
    <a href="#login-box" class="login wpml-btn login-window">Login</a>
    

    replace the code with

    
    <a href="#login-box" class="login wpml-btn login-window no-scroll">Login</a>
    

    Best regards,
    Peter

    #216879

    Hey Peter,

    How exactly do I change that? Would I look in the plugin files and find where it is creating that class and just add the “no-scroll” in?

    thanks

    #216881

    Got it all figured out. Worked great. Thanks a million! I’ve been trying to figure that out for a while!
    Quick question for future reference… Is the “no-scroll” specific to Enfold? or is that something I can put in other theme’s if I come across similar issues.
    I guess I should ask if it theme specific.

    thanks!

    #216887

    Hey!

    Yes, the class is theme specific. It’s required because our theme tries to scroll to an element if it exists on the current page (otherwise we couldn’t create section links like here: http://www.kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/ ) and if the user wants to deactivate this effect he can use the no-scroll class.

    Regards,
    Peter

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

You must be logged in to reply to this topic.