Page 1 of 1

how to add Login page image

Posted: 09 Aug 2014, 14:44
by whitehatworld
How to add image on Login page on this Place.
2.png
please help :(

how to add Login page image

Posted: 09 Aug 2014, 20:19
by Sniper_E
Open template/login_body.html

Find

Code: Select all

	<div class="content">
		<h2><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2>
After Add

Code: Select all

		<div style="float: right"><img src="http://www.mricons.com/store/png/2146_3239_128_lock_icon.png" alt="lock" /></div>
Refresh templates

And I think you posted this in the wrong forum.

how to add Login page image

Posted: 09 Aug 2014, 21:34
by martin123456
Or you could do it as stoker has by replacing

Code: Select all

<div class="content">
with

Code: Select all

<div class="content" style="background: url('{ROOT_PATH}images/login.png') no-repeat 75% 60%;">
(so you can set the location of the image)
login.png
login.png (16.09 KiB) Viewed 2995 times
And stoker why arnt you using an alt tag on the image ? just wondering.

how to add Login page image

Posted: 09 Aug 2014, 21:45
by whitehatworld
Thanks it's work.

how to add Login page image

Posted: 09 Aug 2014, 21:50
by martin123456
As my good friend Sniper_E pointed out your posting in the wrong forum this is User Contributions not a requesting support forum.