Forums / Templates, Stylesheets, Page Layout / How to adjust the Sidebox Login field length

How to adjust the Sidebox Login field length

Locked

Started by peace_freak on 17 Sep 2006, 2:22 AM · Views: 1,315

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 Sep 2006, 2:22 AM
#1
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

How to adjust the Sidebox Login field length

I have noticed that the fields (for Login and Password) in the Login sidebox are too long when looking at my site using a Macintosh... They are way too wide and extend past the edge of the box.

I can’t seem to find a way to adjust their length...

Could anyone help out?

Thanks in advance!

17 Sep 2006, 6:44 AM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: How to adjust the Sidebox Login field length

edit file includes/templates/YOUR TEMPLATE/sideboxes/tpl_login_box.php if you have in a override folder

or edit
includes/templates/template_default/sideboxes/tpl_login_box.php

edit line

 $content .=LOGIN_BOX_EMAIL_ADDRESS . '<br />' . zen_draw_input_field('email_address', '', 'size="24"').'<br />';
   $content .=LOGIN_BOX_PASSWORD . '<br />' . zen_draw_password_field('password', '', 'size="24"') . '<br />';

Where the number 24 change it to smaller or larger number to fit your template.

Also do not forget YOUR TEMPLATE is the name of your template this file resides in.

Good Luck :D

Rob

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

18 Sep 2006, 12:20 AM
#3
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

Re: How to adjust the Sidebox Login field length

Thanks Rob,

I had been looking high and low for that! What a relief to be able to fix it! Hope it benefits others as well who are using the sidebox.

I recommend that everyone views how their cart looks on the Mac platform, i.e., in Safari, Firefox at least and Opera too, when using this sidebox.

18 Sep 2006, 1:46 AM
#4
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: How to adjust the Sidebox Login field length

Your very welcome,
Glad I could be of some help.

Rob

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered