MyBB Community Forums

Full Version: Login Box gone
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After upgrading from 1.8.5 to 1.8.6 my login box is gone. Have looked in header_welcomebox_guest, but there is no hardcoded margin, but in "inspect element" I do find inline style:
margin-top: -387.5
margin-left: -200

Where can I locate those styles?

copy of my header_welcomebox_guest

<div class="login custom">
<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login btn btn-default custom">{$lang->welcome_login}</a>
    	<a href="{$mybb->settings['bburl']}/member.php?action=register" class="login btn btn-default custom">{$lang->welcome_register}</a>
	</div>
<div class="dropdown">
  <span id="User-dropdown" role="button" data-toggle="dropdown" data-target="#">
    	<img src="images/default_avatar.png" alt="Guest" class="avatar" />
  </span>
  <ul class="dropdown-menu" role="menu" aria-labelledby="User-dropdown">
    	<li><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login">{$lang->welcome_login}</a></li>
    	<li><a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></li>
  </ul>
</div>
	<div class="row">
	<div class="col-sm-2">
				<div class="login responsive" id="quick_login" style="display: none;">
					<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
							<tr>
								<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
							</tr>
							<tr>
								<td class="trow1" width="25%"><strong>{$login_username}</strong></td>
								<td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>
							</tr>
							<tr>
								<td class="trow2"><strong>{$lang->password}</strong></td>
								<td class="trow2">
									<input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /> <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
								</td>
							</tr>
							<tr>
								<td class="trow1">&nbsp;</td>
								<td class="trow1 remember_me">
									<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
									<label for="quick_login_remember">{$lang->remember_me}</label>
								</td>
							</tr>
							<tr>
								<td class="trow2" colspan="2">
									<div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}" /></div>
								</td>
							</tr>
						</table>
					</form>
	</div></div>
				<script type="text/javascript">
					$("#quick_login input[name='url']").val($(location).attr('href'));
	</script>
</div>

Have added margin-top to global.css, the login box is now visible, but exit (X) is now under the box and not at left top. But after all the login box is visible.

Added:
div#quick_login {
margin-left: 5% !important;
margin-top: 5% !important;
}