Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

    red flag Add to Cart, Quantity, Images Alignment -- Gone crazy. Please help!

    Hi,

    I have no idea how to fix the alignment of all my product page buttons! Add to Cart, Quantity, additional images, Attribute option, Tell A Friend, Write a Review.

    Please have a look:
    http://shop.chowkitkita.com/index.ph...products_id=86

    I know I have to adjust my CSS but I have no idea where to start. Please help!

    Thank you so very much!

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

    Default Re: Add to Cart, Quantity, Images Alignment -- Gone crazy. Please help!

    First, Zencart loads all stylesheets with the .css extension that it finds in the current template's css folder, so you have three sheets (stylesheet.css, stylesheet_ori.css and stylesheet ori2.css) fighting each other. Remove or change the extension name of two of them.

    In one of those sheets, you have 20em of padding for #cartAdd. That's the bulk of your problem.

  3. #3
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Add to Cart, Quantity, Images Alignment -- Gone crazy. Please help!

    Thank you SO MUCH for your quick response, Stevesh!

    I removed the other 2 confusing CSS files and now the page looks less crankier! Thanks!

    There's still an alignment problem though.

    1. How do I move the Attribute selection (Please choose a size:) right above the 'Add to Cart' button?
    2. The Tell A Friend and Write a Review button is overlapping the bottom box (http://shop.chowkitkita.com/index.ph...products_id=71). How do I increase the margin?

    Thanks again!

  4. #4
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Add to Cart, Quantity, Images Alignment -- Gone crazy. Please help!

    Hi again,

    I managed to align my Attributes to the right by adding this to my CSS:

    #productAttributes {
    float:right;
    }

    But now, instead of being above the Add to Cart button, it is positioned side-by-side. How do I move 'Add to Cart' below? Please help. Thank you so much!

  5. #5
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Add to Cart, Quantity, Images Alignment -- Gone crazy. Please help!

    I solved the Add to Cart & Attributes side-by-side alignment problem.

    Besides moving the <!--bof Attributes Module --><!--eof Attributes Module --> bulk above the Add To Cart BOF/EOF (in tpl_product_info_display.php) , I added

    <br class="clearBoth" /> in the middle of the two bulks. This solved it.

    But my 2. problem remains...

    The Tell A Friend and Write a Review button is overlapping the bottom box (http://shop.chowkitkita.com/index.ph...products_id=71). How do I increase the margin?

 

 

Similar Threads

  1. More info link gone and add to cart gone
    By fredmccay in forum General Questions
    Replies: 3
    Last Post: 15 Jan 2011, 02:03 PM
  2. Alignment for Add to Cart making me crazy!
    By jill8026 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Aug 2008, 10:59 PM
  3. Add to cart Button is now Gone..please help
    By EvoPowerMods in forum Basic Configuration
    Replies: 0
    Last Post: 19 May 2008, 06:24 AM
  4. please help me add quantity box on products_all page
    By antpez in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 19 Nov 2007, 02:57 AM
  5. please help me fix this code, adding quantity box and add to cart button to xsell
    By lankeeyankee in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Nov 2007, 03:24 AM

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