You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I installed the plugin q2a-open-login (Donut theme)
The drop-down menu displays TWO logout buttons
Top button (icon without text) is not active
The bottom (just text) works as it should.
How to unite buttons or remove the top icon?
I will be grateful for any help
The problem comes from the fact that q2a-open-login makes it's own HTML for the logout button, and pushes is back in the label, which then contains an anchor tag. In user-loggedin-drop-down.php, another a tag is added, which breaks the HTML.
I will submit a patch that tests the content of the label for anchors before adding our own. Not great but robust.
buttons.less:
* Added a button-unlink (to remove login providers), with a white times sign in a red button
* Removed a trailing comma that was making lint not happy
header.less:
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)
user-loggedin-drop-down.php:
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)
* Added a test when showing the logout button, because in some case the label already contains the logout link, so it was creating a bizare double menu (see https://www.question2answer.org/qa/65340/two-logout-buttons-displayed-open-login-plugin-look-screen?show=65340#q65340) - see issue amiyasahu#109
user-login-drop-down.php:
* Removed all additional classes added to login buttons, because q2a-open-login does everything on its own now, with more providers, using bootstrap-social
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)
Hi
I installed the plugin q2a-open-login (Donut theme)
The drop-down menu displays TWO logout buttons
Top button (icon without text) is not active
The bottom (just text) works as it should.
How to unite buttons or remove the top icon?
I will be grateful for any help
https://www.question2answer.org/qa/65340/two-logout-buttons-displayed-open-login-plugin-look-screen?show=65340#q65340
The text was updated successfully, but these errors were encountered: