Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
635 views
in Plugins by
We've designed our own fb, twitter and google buttons further down the page.

When I activate open login, it brings up links/buttons in the nav bar.

How would I use my buttons to trigger the open login functionality for each button, and hide their links/buttons?
Q2A version: 1.7

1 Answer

+1 vote
by
I figured it out - the following works a treat:

                            <button class="button_primary signup_button button_block open-login-button context-menu action-login google"><a href="./?qa=login&login=google" style="color:#fff;text-decoration:none;" >Sign up with Google</a></button>
                            <button class="button_primary signup_button button_block open-login-button context-menu action-login facebook"><a href="./?qa=login&login=facebook" style="color:#fff;text-decoration:none;" >Sign up with Facebook</a></button>
                            <button class="button_primary signup_button button_block open-login-button context-menu action-login twitter"><a href="./?qa=login&login=twitter" style="color:#fff;text-decoration:none;" >Sign up with Twitter</a></button>
...