Zen Cart Logo
Forums / General Questions / Align Attributes to Show evenly

Align Attributes to Show evenly

Locked

Views: 711

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Mar 2010, 7:09 PM
#1
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Align Attributes to Show evenly

Hello,

I want to align my attributes to show evenly.

I want the OPTION_NAMES to be evenly together and OPTION_VALUES to be evenly together aligned.

How can i do this?

Thanks
DigitalGuard

22 Mar 2010, 9:22 PM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Align Attributes to Show evenly

A link would be helpful.

22 Mar 2010, 9:25 PM
#3
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Align Attributes to Show evenly

CoolCarPartsOnline:

A link would be helpful.

Here is my test site

Now as you can see it says,

First Name: [ ]
Last Name: [ ]
Business Name [ ]
Address: [ ]

I want it to be

First Name: [ ]
Last Name: [ ]
Business Name [ ]
Address: [ ]

Thanks
DigitalGuard

22 Mar 2010, 9:47 PM
#4
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Align Attributes to Show evenly

DigitalGuard:

Here is my test site

Now as you can see it says,

First Name: [ ]
Last Name: [ ]
Business Name [ ]
Address: [ ]

I want it to be

First Name: [ ]
Last Name: [ ]
Business Name [ ]
Address: [ ]

Thanks
DigitalGuard

IT looked right when typing it... :oops:

22 Mar 2010, 10:44 PM
#5
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Align Attributes to Show evenly

The is no easy fix without changing some div in your tpl or override them in the css
You car try to add this to your css which would make the name width 200px<--adjust to your need.

h4.optionName {width:200px;}

Note the back class is applied to the attribute labels which I would suggest changing in tpl file. Create a new style and apply it to all your attributes labels, inputs and select to make them all look the same.

Your problem lies in CSS and tpl file.

22 Mar 2010, 11:16 PM
#6
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Align Attributes to Show evenly

CoolCarPartsOnline:

The is no easy fix without changing some div in your tpl or override them in the css
You car try to add this to your css which would make the name width 200px<--adjust to your need.

h4.optionName {width:200px;}

> 
> Note the back class is applied to the attribute labels which I would suggest changing in tpl file. Create a new style and apply it to all your attributes labels, inputs and select to make them all look the same. 
> 
> Your problem lies in CSS and tpl file.

Perfect that works,

Also would you happen to know if I want to hide 1 label which is called DeliveryDate on this [page](http://www.novshadyan.com/shop/index.php?main_page=product_info&cPath=5&products_id=88) How I would do this. I only want to hide this, nothing else.

Thanks Again
DigitalGUard