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!
whitehatworld
BBCoder I
BBCoder I
Posts: 4
Joined: 07 Aug 2014, 16:27
BBCodes: 1

how to add Login page image

Post by whitehatworld » 09 Aug 2014, 12:44

How to add image on Login page on this Place.
2.png
please help :(
You do not have the required permissions to view the files attached to this post.
Last edited by whitehatworld on 11 Aug 2014, 07:11, edited 1 time in total.


User avatar
Sniper_E
BBCoder II
BBCoder II
Posts: 43
Joined: 04 Dec 2011, 04:30
BBCodes: 1

how to add Login page image

Post by Sniper_E » 09 Aug 2014, 18:19

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: 764
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

how to add Login page image

Post by martin123456 » 09 Aug 2014, 19:34

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
And stoker why arnt you using an alt tag on the image ? just wondering.
You do not have the required permissions to view the files attached to this post.

whitehatworld
BBCoder I
BBCoder I
Posts: 4
Joined: 07 Aug 2014, 16:27
BBCodes: 1

how to add Login page image

Post by whitehatworld » 09 Aug 2014, 19:45

Thanks it's work.
Last edited by whitehatworld on 11 Aug 2014, 07:09, edited 1 time in total.

User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 764
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

how to add Login page image

Post by martin123456 » 09 Aug 2014, 19:50

As my good friend Sniper_E pointed out your posting in the wrong forum this is User Contributions not a requesting support forum.