Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jul 2009
    Posts
    35
    Plugin Contributions
    0

    Default Why the big empty space between the first and second attribute?

    I have multiple attributes on some products. I always get about 4 lines between the first and the second attributes, then about 2 lines between the second and the third, the third and the fourth...

    You can find my site at ( it is in french only ) : www.bebebroderie.com

    I am using this version of zencart : Zen Cart 1.3.8a

    I use these add-on:

    SplitTaxLines
    French language pack
    Image Handler 2 for v1.3.x

  2. #2
    Join Date
    Apr 2009
    Posts
    2,123
    Plugin Contributions
    3

    Default Re: Why the big empty space between the first and second attribute?

    It is because of the way the attributes and the add to cart box are postioned. Both use floats.

    The attributes include a clear:both in the code which pushes the second attribute down below the add to cart box.


    Add this to the bottom of your stylesheet as a quick fix:

    Code:
    #productAttributes .clearBoth {clear:left;}

  3. #3
    Join Date
    Jul 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    It worked. Thanks for the quick reply.

  4. #4
    Join Date
    Jul 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    I have another problem. In my product listing, the price come up at the top of the last column and add to cart at the bottom. But I don't see add to cart anymore and my price is a little too high if compare to the image and description.

    Where can I fix this? There is a lot of product_listing files and I don't know which one?

  5. #5
    Join Date
    Jul 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    Forget it. I just deleted the whole price column.

  6. #6
    Join Date
    Mar 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    anyone know how to edit the text,"Please Choose," instead of hiding it?

    also, any ideas on how to move the checkboxs of my attributes to be infront of the attribute text instead of after?
    Solve for x?
    No, x needs to solve it for himself, or else he'll never learn.

  7. #7
    Join Date
    Mar 2010
    Location
    California
    Posts
    236
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    A link to your site please.

  8. #8
    Join Date
    Apr 2009
    Posts
    2,123
    Plugin Contributions
    3

    Default Re: Why the big empty space between the first and second attribute?

    Please Choose is in

    includes/languages/english/product.php

    or the equivalent file.

    The best way of moving the checkboxes is by editing modules/attributes.php but I might be able to come up with a simpler css 'fix' if you post a link to the site.

  9. #9
    Join Date
    Mar 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    Quote Originally Posted by niccol View Post
    Please Choose is in

    includes/languages/english/product.php

    or the equivalent file.

    The best way of moving the checkboxes is by editing modules/attributes.php but I might be able to come up with a simpler css 'fix' if you post a link to the site.
    thanks niccol! it was the product_info.php file. Sweet!

    as for the checkboxes, here is a link to a product page example that I would like to fix...

    http://www.kugelkomponents.com/zenca...&products_id=8

    I am struggling with how to handle the checkbox ID that is unique to each attribute (see snip below). It seems to me that I need something consistent - like a class - to control them via css?

    Here is a code snip of the attribute section...

    Code:
    <div id="productAttributes">
    <h3 id="attribsOptionsText">Options and Upgrades: </h3>
    <div class="wrapperAttribsOptions">
    <h5 class="optionName back">
    Universal Mounting Brackets
    <input id="attrib-3-5" type="checkbox" value="5" name="id[3][5]"/>
    <label class="attribsCheckbox" for="attrib-3-5"> ( +$45.00 ) (+2lbs) </label>
    <br/>
    </h5>
    </div>
    <br class="clearBoth"/>
    <div class="wrapperAttribsOptions">
    <h5 class="optionName back">
    Slotted Brake Pedal Arm Upgrade
    <input id="attrib-2-4" type="checkbox" value="4" name="id[2][4]"/>
    <label class="attribsCheckbox" for="attrib-2-4"> ( +$40.00 )</label>
    <br/>
    </h5>
    </div>
    <br class="clearBoth"/>
    Solve for x?
    No, x needs to solve it for himself, or else he'll never learn.

  10. #10
    Join Date
    Apr 2009
    Posts
    2,123
    Plugin Contributions
    3

    Default Re: Why the big empty space between the first and second attribute?

    Have a look at this:

    http://www.zen-cart.com/forum/showthread.php?t=130226

    I went through the attributes with ad2r. There is also another thread that has my explanation a bit more clearly so you could search for that.

    If you are still struggling post again

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How do I remove the space between the header and the breadcrumb?
    By vinnybhaskar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Feb 2009, 06:40 AM
  2. How do I *tighten up* the space between the header and the start of the content.
    By comicart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Sep 2008, 05:08 PM
  3. How Do i create space between the store and the top of the browser window?
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 May 2008, 04:55 PM
  4. Space between first and second attribute
    By Stormshade in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Jul 2007, 05:33 PM
  5. The space between the boxes in columns left and right?
    By Reesy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2006, 06:09 AM

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