Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Posts
    57
    Plugin Contributions
    0

    Default Attribute Boxes Wrapping Around Cart Button

    Hi All,

    If you take a look at the screenshot below, you'll see that I have 3 attribute buttons - a Shade, Colour and Fragrance.

    For some reason, they are displaying either side of the "add to cart" button, the shade is above the cart button and the other two are shown below. This looks terrible and I can't figure out how to force the add to cart button to show below the attributes. Can anyone please help? What would be preferable is that the shade and colour attributes be side by side, with the fragrance underneath - also, while we're on the subject, anyone know how to increase the size of the text box for the fragrance attribute?

    SCREENSHOT:



    Thank you,

    Nat

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Attribute Boxes Wrapping Around Cart Button

    Nat,

    Do you have a URL we can take a peek at?

  3. #3
    Join Date
    May 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Attribute Boxes Wrapping Around Cart Button

    removed link

    Hi clyde, I solved my frag problem with pop ups.
    Last edited by NattyCat; 8 Jun 2006 at 12:54 AM.

  4. #4
    Join Date
    May 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Attribute Boxes Wrapping Around Cart Button

    actually, i'm gonna remove that link I just posted, these pages keep coming up on google when you enter my site name, and that's not good. PM if you want a link, but the screen shot above shows the problem.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Attribute Boxes Wrapping Around Cart Button

    I thnik I know what the problem is, but without seeing the source I can't be sure.

    It looks like there is a <br class="clearBoth" /> missing somewhere. Most likely after the cart add section in tpl_product_info_display.php

    I'm also guessing that you are trying to "float" the attributes section to the left.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute Boxes Wrapping Around Cart Button

    That is the cause and problem ...

    A br clearboth will clear from left to right before output of the next peice of text ...

    That means if anything is in the way, it has to "make" room ...

    This is very helpful ... but also can make ickkies on a display ...

    So, you customize a bit here and there and decide when, for your design, the br vs br clearboth or what have you on the break works best ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    May 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Attribute Boxes Wrapping Around Cart Button

    OK. Thanks for the explanation, but being completely non-technical, any step by step on how to fix it? I can send a link via PM if you want, I just don't want to post it here due to the vast numbers of google returns it generates that get in the way of my actual site ranking.

    Nat

 

 

Similar Threads

  1. Wrapping Text Around Picture on Main Page
    By Karol in forum General Questions
    Replies: 2
    Last Post: 6 Jul 2011, 03:50 AM
  2. Wrapping Zen Cart around wiki content
    By obertancat in forum General Questions
    Replies: 3
    Last Post: 10 Jun 2008, 10:54 AM
  3. wrapping text around images
    By Karole in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Mar 2007, 07:19 PM
  4. Stop text wrapping around product image?
    By mattys in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Nov 2006, 07:47 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