Page 1 of 1

Adding button to index.php

Posted: 2022-01-20 03:02
by dlee
i have attached screen captures of the index.php page, as viewed on a desktop, and as viewed on, say a phone. My problem is as the login form moves under the logo it gets placed on top of my button. How can I force the logo form to appear below my button, when viewed on a phone?
TD

Here is the code in /hooks/header-extras.php:

Code: Select all

<img src="./images/logo.jpg" alt="ADSI Logo" style="padding-bottom:15px;">

<a id="backtowebsite" style="position:relative;left:-180px;top:110px;" class="btn btn-info btn-lg" href="http://www.adsi-sc.com"><i class="glyphicon glyphicon-hand-left"></i>&nbsp;&nbsp;&nbsp;&nbsp;Back To Website</a>

Re: Adding button to index.php

Posted: 2022-01-20 17:14
by dlee
I fixed it the old school way:

Code: Select all

<div>
	<table>
		<tr>
			<td><img src="./images/logo.jpg" alt="TCP Logo" style="padding-bottom:15px;"></td>
		</tr>
		<tr>
			<td><a id="backtowebsite" class="btn btn-info btn-lg" href="http://www.adsi-sc.com"><i class="glyphicon glyphicon-hand- 
                                left"></i>&nbsp;&nbsp;&nbsp;&nbsp;Back To Website</a></td>
 		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
	</table>
</div>