July 29, 2021 at 11:36 pm
Hi Team,
Please could you help? I’m using Virtue Theme on this site.
I have added a login/logout button using the following HTML in a topbar widget:
<button type="button" id="login_button" class="kad-btn btn-shortcode kad-btn-primary sm-kad-btn clearfix">[frmmodal-content label="Login"][frm-login class="frm_style_login-form-style" layout=v show_lost_password="1" label_lost_password="I forgot my password"][/frmmodal-content]</button>
<button type="button" id="logout_button" class="kad-btn btn-shortcode kad-btn-primary sm-kad-btn clearfix"><a href="https://your_domain/wp-login.php?action=logout" >Logout</a></button>
You can see that the “Member Login” button is quite close to the top – only a few pixels away.
On the other hand ponce you are logged in, the “Logout” button has a healthy 25px margin.
Can you explain why they are different and how I can get the 2 buttons to behave the same?
Very many thanks,
Phil.