Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Location
    Southern California
    Posts
    6
    Plugin Contributions
    0

    Default Attribute options allignment / spacing

    Hi,

    Just getting my new cart up and I'm having a little trouble with spacing between options. If you look at this product's options, there's a huge gap between Quantity and Colors. Can anyone direct me on where/how to get rid of that gap?

    I've been reading through posts and making various changes to my css, but nothing I've done seems to affect that gap.

    http://www.grannystone.com/index.php...&products_id=2

    MUCH appreciated!
    Tony

  2. #2
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Attribute options allignment / spacing

    Ah, the joys of float.....

    tack this at the end of your stylesheet.css

    #productAttributes {
    float: left;
    }
    #productTellFriendLink {
    clear: both;
    }

    yes, you need them both

  3. #3
    Join Date
    Apr 2007
    Location
    Southern California
    Posts
    6
    Plugin Contributions
    0

    Default Re: Attribute options allignment / spacing

    WAY TO GO TMC_SHERPA! I don't understand it, but the gap is gone. Gone is the gap. The gap is no more.

    Do you know how that works?

    Is that the Matterhorn in Zermatt CH?

  4. #4
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Attribute options allignment / spacing

    The who did what now? OH the pic, I'm not sure. I just figured a mountain would go well with the sherpa thing.....

    Any who, between the attributes a clearboth is being called, so what was happening was it couldn't float up past the bottom of your left column. By floating the box they were in, it changed the scope of the clear which let them bunch up. Ironically, after fixing the clear: both from the other products, I had to add one to the productTellFriendLink to keep it underneath the attributes. I guess the best way to demonstrate would be to comment out the clear:both from productTellFriendLink and see what happens

    #productTellFriendLink {
    //clear: both;
    }
    just add the double slash, push it to your server and refresh the page.

    I guess another way to do the same thing would be to remove the clearboth being added to the page and not add the float, but this was easier to explain :)

 

 

Similar Threads

  1. Odd spacing of multiple options
    By reconOutdoors in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 4 Dec 2011, 12:50 AM
  2. Product Attribute Allignment and Spacing
    By archerymachine in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Apr 2010, 01:27 AM
  3. Attribute spacing
    By r1formetoo in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 5 Feb 2009, 04:01 AM
  4. attribute options based on previous options chosen
    By dssprogrammer in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 19 Apr 2007, 01:26 PM
  5. Reduce spacing between options?
    By cosmocanuck in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jun 2006, 08:40 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR