how to add Login page image

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
Locked
whitehatworld
BBCoder I
BBCoder I
Posts: 4
Joined: 07 Aug 2014, 18:27
BBCodes: 1
Contact:

how to add Login page image

Post by whitehatworld »

How to add image on Login page on this Place.
2.png
please help :(
Last edited by whitehatworld on 11 Aug 2014, 09:11, edited 1 time in total.
User avatar
Sniper_E
BBCoder II
BBCoder II
Posts: 44
Joined: 04 Dec 2011, 06:30
BBCodes: 1
Contact:

how to add Login page image

Post 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.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

how to add Login page image

Post 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 2999 times
And stoker why arnt you using an alt tag on the image ? just wondering.
whitehatworld
BBCoder I
BBCoder I
Posts: 4
Joined: 07 Aug 2014, 18:27
BBCodes: 1
Contact:

how to add Login page image

Post by whitehatworld »

Thanks it's work.
Last edited by whitehatworld on 11 Aug 2014, 09:09, edited 1 time in total.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

how to add Login page image

Post 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.
Locked