Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Align Attribute Values

    Hi,

    Hi guys, Does anyone know how to align attribute names and attribute values so when there are multiple attributes the attribute value (whether its a text box or drop down menu) will always align underneath each other:
    something like shown here:
    http://www.celtmyth.co.uk/index.php?...oducts_id=1114

    Thanks in advance

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Align Attribute Values

    We'll probably have to see what you have now.

  3. #3
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    thanks stevesh, unfortunately I am developing my website on my pc using a local server so it can not be seen online yet. I was thinking do I just need to amend optionName label in my stylesheet ? any ideas of what should be changed/added?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Align Attribute Values

    The problem is we don't know what template you're using, or what mods you may have installed, or what you may have modified already, so it's hard to advise.

    That's one of the reasons I don't recommend developing locally.

    In a stock Zencart installation, multiple attributes look like this:

    http: //www.stevesh.org/demo/index.php?main_page=product_info&cPath=23&products_id=59

    Maybe you could provide a screenshot of what you have now ?

  5. #5
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Quote Originally Posted by stevesh View Post
    The problem is we don't know what template you're using, or what mods you may have installed, or what you may have modified already, so it's hard to advise.

    That's one of the reasons I don't recommend developing locally.

    In a stock Zencart installation, multiple attributes look like this:

    http: //www.stevesh.org/demo/index.php?main_page=product_info&cPath=23&products_id=59

    Maybe you could provide a screenshot of what you have now ?
    I have attached a screen shot below. Basically I would like to have the Option name (i.e. Age of Child, Name) to have a sort of margin so that the Option value fields are in line with each other
    Attached Images Attached Images  

  6. #6
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Can you please share the wealth and explain how you aligned the "CANDLE OPTIONS"?

  7. #7
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Edit the stylesheet.css and give this a width:

    The highlighted red font below is an example:
    h4.optionName {
    width: 12em;
    }
    Last edited by haredo; 30 May 2011 at 12:01 AM.

  8. #8
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Quote Originally Posted by haredo View Post
    Edit the stylesheet.css and give this a width:

    The highlighted red font below is an example:
    That makes sense. Is there a default code to just align the choices to the right.

    Like

    COLOR DROP DOWN CHOICES ARE RED, BLUE, GREEN

    HAVE COLOR LEFT JUSTTIFIED WHICH IT ALREADY IS.

    AND HAVE THE DROP DOWN CHOICES RIGHT JUSTIFIED? OR DO YOU NEED TO JUST PLAY WITH THE NUMBER UNTIL IT FITS SINCE IT DEPENDS ON MY STORE WIDTH?

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Can you post a url to your site without the http://www.

  10. #10
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Align Attribute Values

    Quote Originally Posted by haredo View Post
    Can you post a url to your site without the http://www.
    it is on lockdown but if u send me your ip. and afterwards ill screen capture so everyone can see the results so they reference this thread when they have the same question.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. v139f Attribute Values
    By maxell6230 in forum General Questions
    Replies: 4
    Last Post: 27 Apr 2012, 05:46 PM
  3. Copy attribute values to a different attribute name
    By pageblair in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Jul 2010, 05:24 PM
  4. Linking attribute values to to product values (for custom gift baskets)
    By peaceviddie in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Jul 2008, 09:22 PM
  5. attribute values
    By plus200 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Nov 2007, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg