Forums / Templates, Stylesheets, Page Layout / Login Page Customisation

Login Page Customisation

Locked
Results 1 to 9 of 9
This thread is locked. New replies are disabled.
21 May 2010, 17:22
#1
nsrao avatar

nsrao

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

Login Page Customisation

Dear Friends,

How to set background color for "Returning Customers: Please Log In" box?

Take Care
Sudha
22 May 2010, 09:28
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Login Page Customisation

Add to the stylesheet:

#loginForm fieldset {background-color:#ff0000;}
28 May 2010, 15:19
#3
nsrao avatar

nsrao

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

Re: Login Page Customisation

Version 1.38

Sorry for late replay.
after adding css code
#loginForm FIELDSET {background-color:#ff0000;}
it is not showing.. pleas look at attached image..
28 May 2010, 15:30
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Posts:
2,072
Plugin Contributions:
1

Re: Login Page Customisation

nsrao:

Version 1.38

Sorry for late replay.
after adding css code
#loginForm FIELDSET {background-color:#ff0000;}
it is not showing.. pleas look at attached image..


That's because you used all CAPS on fieldset. The calls for the div's ARE case-sensitive!
28 May 2010, 17:10
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Login Page Customisation

You don't have the #loginForm id which is in the stock Zencart installation.

What version of Zencart is that, and where did you get the template?
28 May 2010, 17:54
#7
nsrao avatar

nsrao

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

Re: Login Page Customisation

i am using version 1.38a.
I customized it
28 May 2010, 18:20
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Login Page Customisation

This file has been changed for 1.3.9. You might compare it to your copy to see what changes were made:

includes/templates/template_default/templates/tpl_login_default.php

These lines at least are different:


Line #42 : <?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>

Line #67 : <?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>

and you'll need that loginForm part at the end to style that box differently from the rest.