X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Authentication Box Width/Size (https://forum.x-cart.com/showthread.php?t=23447)

chetlucas 07-20-2006 11:43 AM

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

balinor 07-20-2006 04:15 PM

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.

chetlucas 07-21-2006 07:05 AM

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). :lol:

balinor 07-21-2006 08:06 AM

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.

chetlucas 07-21-2006 08:56 AM

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??

funkymonkey 07-22-2006 12:01 AM

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.

chetlucas 07-22-2006 12:59 AM

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.

balinor 07-22-2006 03:28 AM

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.

funkymonkey 07-27-2006 10:50 AM

Thanks for the help. I'll adjust height with the global method.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.