Adding button to index.php

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
dlee
Veteran Member
Posts: 168
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Adding button to index.php

Post by dlee » 2022-01-20 03:02

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>
Attachments
adsisc phone.png
adsisc phone.png (70.93 KiB) Viewed 1318 times
adsisc desktop.png
adsisc desktop.png (87.39 KiB) Viewed 1318 times

dlee
Veteran Member
Posts: 168
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Re: Adding button to index.php

Post by dlee » 2022-01-20 17:14

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>
Attachments
adsisc phone fixed.png
adsisc phone fixed.png (67.25 KiB) Viewed 1296 times

Post Reply