Thread: product pages

Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default product pages

    having some trouble with the layout on the product pages.

    i need the image on the left, with title, man., model, options and add to cart button on the right, with the description down below.

    the problem is getting everything to align properly....

    here is an example:
    http://all-k-9.crsdesignsinc.com/sto...products_id=16

    as you can see...
    1) "please choose" is off to the right (and it should be under the man.) And for items with no man info, or model info, it should just be under the price...
    2) there is a big gap between size and the drop down box

    any ideas on how to get the information on the right to align properly under each other like the example below????
    Schweikert Heavy Full Body Bite Suit

    $1,299.00

    • Model: 56305
    • Manufactured by: Schweikert
    <H3>Please Choose:

    </H3>size
    Please Select medium large x-large




    Add to Cart:

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: product pages

    It must be that you did not write the product_info.css yourself (/includes/templates/ALLK9/css/product_info.css). All the settings you need are right there - set left margins and paddings to 0 and things will line up neatly.
    Code:
    #mainProductBox {
    
    margin: 0 auto;
    
    padding: 0;
    
    }
    
    #imagebox {
    
    margin:0;
    
    padding:0;
    
    width:20&#37;;
    
    float:right;
    
    }
    
    #productMainImage {
    
    margin:1.5em 1em 1em 0;
    
    }
    
    #productbox {
    
    margin:0;
    
    padding:0;
    
    width:45%;
    
    float:left;
    
    }
    
    h1#productName {
    
    margin:0;
    
    padding:0;
    
    font-weight:700;
    
    text-align:center;
    
    }
    
    #productDescription {
    
    margin:0;
    
    padding:0 0 2px 0;<----------------------change to 0;
    
    line-height:1.3em;
    
    }
    
    #productPrices {
    
    margin:0;
    
    padding: 2px 0;
    
    font-weight:700;
    
    text-align:left;
    
    }
    
    #productDetailsList {
    
    margin: 0;
    
    padding:0;
    
    list-style: none;
    
    }
    
    #productDetailsList ul {
    
    margin: 0;
    
    padding:0;
    
    list-style: none;
    
    }
    
    #productDetailsList ul li {
    
    padding:3px 0 3px 3px;<----------------------change to 3px 0 3px 0;
    
    }
    
    #freeShippingIcon {
    
    width:50%;
    
    height:54px;
    
    }
    
    #productPurchaseBox {
    
    margin: 0;
    
    float:right;<----------------------??maybe change to left;
    
    width:48%;
    
    }
    
    #buybox {
    
    margin:0;
    
    padding:3px;<----------------------change to 3px 3px 3px 0;
    
    /*width:45%;*/
    
    text-align:center;
    
    /*float:right;*/
    
    }
    
    .wrapperAttribsOptions {
    
    margin:0.3em 0;
    
    text-align:left;
    
    }
    
    #attribsOptionsText {
    
    margin:0;
    
    padding:0.5em 5px;<----------------------change to 0.5em 5px 0.5em 0;
    
    text-align:center;
    
    }
    
    .optionName {
    
    margin:0;
    
    color:#580c84;
    
    font-weight:700;
    
    padding-left:3px;<----------------------change to 0;
    
    text-align:left;
    
    width:10em;
    
    }
    
    #cartAdd {
    
    margin:1em;<----------------------change to 1em 1em 1em 0;
    
    padding:3px;<----------------------change to 3px 3px 3px 0;
    
    font-size:1em;
    
    text-align:left;
    
    }
    
    #cartImage {
    
    margin:0.5em 1em;<----------------------??change to 0.5em 1em 0.5em 0;
    
    }
    
    
    
    #QuantityDiscountsBox {
    
    margin: 0;
    
    padding: 0;
    
    width: 20%;
    
    /*float: left;*/
    
    }
    The suggested changes are not necessarily the best settings for you, or efficiently stated; they are simply an example of removing all left margin/padding while leaving the rest as is.

  3. #3
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: product pages

    Sorry but those didn't work to solve this issue :/

    I am the designer working this site - and for the life of me I cannot get the dang thing to come all the way left
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: product pages

    I changed product_info.css to this in Edit CSS and got everything aligned on the left edge:
    Code:
    #mainProductBox {
    margin: 0 auto;
    padding: 0;
    }
    #imagebox {
    margin:0;
    padding:0;
    width:20&#37;;
    float:right;
    }
    #productMainImage {
    margin:1.5em 1em 1em 0;
    }
    #productbox {
    margin:0;
    padding:0;
    width:45%;
    float:left;
    }
    h1#productName {
    margin:0;
    padding:0;
    font-weight:700;
    text-align:center;
    }
    #productDescription {
    margin:0;
    padding:0 0 2px 0;
    line-height:1.3em;
    }
    #productPrices {
    margin:0;
    padding: 2px 0;
    font-weight:700;
    text-align:left;
    }
    #productDetailsList {
    margin: 0;
    padding:0;
    list-style: none;
    }
    #productDetailsList ul {
    margin: 0;
    padding:0;
    list-style: none;
    }
    #productDetailsList ul li {
    padding:3px 0 3px 3px;
    }
    #freeShippingIcon {
    width:50%;
    height:54px;
    }
    #productPurchaseBox {
    margin: 0;
    float:right;
    width:48%;
    }
    #buybox {
    margin:0;
    padding:0px;
    /*width:45%;*/
    text-align:center;
    /*float:right;*/
    }
    .wrapperAttribsOptions {
    margin:0.3em 0;
    text-align:left;
    }
    #attribsOptionsText {
    margin:0;
    padding:0.5em 0px !important;
    text-align:center;
    }
    #productAttributes { margin-left: 0; padding-left: 0;}
    #attribsOptionsText h3 {text-align: left;}
    label.attribsSelect {margin-left: 0; padding-left: 0}
    .optionName {
    margin:0;
    color:#580c84;
    font-weight:700;
    padding-left:0px;
    text-align:left;
    width:10em;
    }
    #cartAdd {
    margin:1em;
    padding:3px;
    margin-left:0;
    padding-left:0;
    font-size:1em;
    text-align:left;
    }
    #cartAdd input {margin-left: 0;}
    #cartImage {
    margin:0.5em 1em;
    }
    
    #QuantityDiscountsBox {
    margin: 0;
    padding: 0;
    width: 20%;
    /*float: left;*/
    }
    (Added a number of selectors not originally in the file.)

  5. #5
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: product pages

    Ahhhh ok I totally removed that stylesheet - cuz I thought it was a conflict there. Let me see what happens now :)

    Thanks!
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  6. #6
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: product pages

    PERFECT !

    Thanks - now I will search my original css compared to yours so that I remember what to change next time :)
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

 

 

Similar Threads

  1. v151 Banners show in all pages, except for product pages. Help!
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Mar 2014, 05:56 PM
  2. Replies: 1
    Last Post: 30 Nov 2011, 07:00 PM
  3. Why is my product pages and category pages are missing http headers?
    By benray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Nov 2011, 05:30 PM
  4. Help with Product Pages/Log In/Check out pages
    By stalb33 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 May 2009, 03:51 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