Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Authentication Box Width/Size

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-20-2006, 11:43 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

Default Authentication Box Width/Size

I have hunted high and low and have not found where to change the size of the Authentication Box where a person logs in or registers for their account. I have changed Auth.tpl, Authbox.tpl, menu.tpl, home.tpl and haven't come up with a solution. I have changed all other boxes to fit my website (except a minor format one in center boxes), and have been unable to locate the how to/where to fix the width of the Authentication Box. Could someone please point me in the right direction? I am ruining my eyeballs searching and searching and changing things back and forth with no results. Thanks. www.nancyjanesgifts.com
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #2  
Old 07-20-2006, 04:15 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is indeed auth.tpl. You may need to shrink the width of the input boxes, or move the login/pass text above the box.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-21-2006, 07:05 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

Default Product Title Display Alignment on Product Page

Thanks for the help with the auth.tpl file Padraic. I think I got it okay.

On my website, www.nancyjanesgifts, I have another rather small problem and that is when the products displayed have more than one line in the title, there is extra space added to the "box" therefore changing my "alignment" in this area.

I would like to be able to have either the same size boxes for all product displays regardless of title length (so that they fit) - or a way to add extra line space to a product title that only has a "one line title" so that all the products would line up, both top and bottom, as well as across. Can this be done without too much trouble? I don't know a lot about this stuff but I am learning (slowly).
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #4  
Old 07-21-2006, 08:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yea, I see what you mean. Easiest way is to set a hard-coded height to the table cell that contains the title. That way, if it is one line or two it will still be the same height. There isn't a way for X-Cart to know if the title is going to wrap or not, so you can't use an {if} statement.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-21-2006, 08:56 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

Default Product Display Alignment - Fixed!!

Thanks Padraic - You have been a tremendous help here. Sometimes I make it too hard when it is really just a common sense, easy cell mod or something like that. My brain is fried!! I'm ready for business now I think. What else should we work on??
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #6  
Old 07-22-2006, 12:01 AM
 
funkymonkey funkymonkey is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: California, USA
Posts: 72
 

Default

I'm trying to do the same thing but only with the checkout page fields. I'd really like to bump up the height a notch of all the fields on these pages. It wouldn't hurt the search or the news fields either come to think of it. I've scoured the forum and the templates but nothing. Is the height of the textfields determined by their font size or independently? Overstock.com seem to have gotten away with it.

Thanks for any input.
__________________
X-Cart Version: 4.4.1
Web Server: Unix
Operating System: Linux
Location: California, U.S.A.
Reply With Quote
  #7  
Old 07-22-2006, 12:59 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

Default Checkout Page Field Heighth

I would think you would have to be more specific on this. If you look at the fields and they are controlled by cells, then you could do a fixed heighth for the cells as Padraic mentioned earlier. I did that and it worked for me.
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #8  
Old 07-22-2006, 03:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

If you want to change the height of the actual field, you need to add CSS to the form field itself, something like this:

style="height: 20px"

If you want to do it globally, add this to skin1.css:

INPUT {height: 20px;}

Change 20 to whatever height you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 07-27-2006, 10:50 AM
 
funkymonkey funkymonkey is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: California, USA
Posts: 72
 

Default

Thanks for the help. I'll adjust height with the global method.
__________________
X-Cart Version: 4.4.1
Web Server: Unix
Operating System: Linux
Location: California, U.S.A.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:18 AM.

   

 
X-Cart forums © 2001-2020