Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Johannesburg
    Posts
    354
    Plugin Contributions
    2

    Default Attributes display alignment

    I would like my attributes drop down boxes and text to right align.

    The display is untidy for left align - see here

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: Attributes display alignment

    If adjust the dropdown's part in the css, other portion of the page will be affected.

    You can set a width to the option name of the first part at the left side, and this make a clear look to the the dropdown at the right side.
    .optionName {
    width: 16em; /* should set a width which ssufficient for all the option names */
    }
    If still want the text to right align for the option name.
    in the above css add the following:
    text-align: right;
    .
    A New Starter again

  3. #3
    Join Date
    Jul 2005
    Location
    Johannesburg
    Posts
    354
    Plugin Contributions
    2

    Re: Attributes display alignment

    I'm very new at this and don't really know what I'm doing. using Aardvark, I found this bit of code that, I think, relates to what you're talkin about:

    LABEL, h4.optionName {

    line-height: 1.5em;

    padding: 0.2em;

    }
    Do I add
    width: 16em;
    to the above stylesheet2.css and

    1. adjust the value to suit

    1. add values for each drop down box?

  4. #4
    Join Date
    Jul 2005
    Location
    Johannesburg
    Posts
    354
    Plugin Contributions
    2

    Default Re: Attributes display alignment

    Cool man. Thank you. Iadded that tiny bit of coding
    width: 16em;
    , and my whole site's a lot neater.


  5. #5
    Join Date
    Jul 2005
    Location
    Johannesburg
    Posts
    354
    Plugin Contributions
    2

    Default Re: Attributes display alignment

    A very big thank you to seethrou. Aardvark and other web tools for Firefox are great. I recommend them to anyone that would like to learn and understand how their sites are put together!

  6. #6
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: Attributes display alignment

    Glad that can help.
    A New Starter again

 

 

Similar Threads

  1. Add Attributes Controller Twice on Product Display Page
    By axl23 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Jun 2006, 01:39 PM
  2. Attributes images won't display ! What am I doing wrong?
    By howdoin in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 May 2006, 08:58 PM

Bookmarks

Posting Permissions

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