I've created a custom login page using the [wpv-login-form] shortcode. The only problem I have is getting the bootstrap glyphicon icons to position properly, so that they line up just before their respective input fields.
You can see the form at hidden link
Content template code to date:-
<br>
<br>
<div class="logborder">
<h4>
Log In to Audio Gear
</h4>
<i class="glyphicon glyphicon-user"></i>
<i class="glyphicon glyphicon-lock"></i>
[wpv-login-form redirect_url="<em><u>hidden link</u></em>"]
Forgot your password?
<br>
<br>
</div>
<br>
<br>
Could you help advise me how best to position the two bootstrap icons to they will stay in the correct place irrespective of screen size and the appearance of error messages (e.g. ERROR: The username field is empty.)
I tried using the code you suggested but the glyphicons get inserted into the rows above the input field boxes. I want the glyphicons to appear inside the input field boxes.
The only way I could find to place them inside the boxes is using the position: relative code. Here's what seems to work:-
CONTENT
<br>
<br>
<div class="logborder">
<h4>
Log In to Audio Gear
</h4>
[wpv-login-form redirect_url="<em><u>hidden link</u></em>"]
Forgot your password?
<br>
<br>
</div>
<br>
<br>
Sorry, I had not understood that you wanted the icons to appear as if they were within the input field, I thought you meant for them to be to the left of them.
What you have done looks fine, you need to either use float or position absolute to locate the icons where you want them in that case.
The alternative would be to remove the border from the input element and add it to the p element that surrounds both the icon and the input, which would give you a similar visual result, but I don't see any reason to change what you have done.