Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Product Image and Description Alignment

    Hi,

    I have set a pink background color for #productDescription in CSS file. When view from the product page, the background color fills the entire center column including behide the product image.

    I'd like to seek advices for the following 2 questions:
    1. Is there a way to prevent the background color from showing behide the product image through CSS (w/o using HTML Table)?

    2. Is there a way to prevent the text description from wrapping (to the left bottom of the product image) when the product description takes up more vertical space than the image height?

    TIA.

  2. #2
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Product Image and Description Alignment

    edit these two lines in css stylesheet replacing the background color ot adding the color code to the background, eitherway is your choice.

    <--adjust to your liking or to what you already have-->

    .rowOdd {
    background-color: #E8E8E8;
    min-height: 1.5em;
    vertical-align: top;
    }

    .rowEven {
    background-color: #F0F0F0;
    min-height: 1.5em;
    vertical-align: top;
    }
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  3. #3
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Product Image and Description Alignment

    Thanks for your reply, however, from the generated codes, the Classes that control the product description are <div id="productDescription" class="productGeneral biggerText">. How would the .rowOdd & .rowEven affect the above-mentioned? Thanks.

  4. #4
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Product Image and Description Alignment

    Unless I see a different chapter, I read you wanted to change the background within the product listing columns?

    If not then what I posted would do you no good.

    If you are wanting to add to the description page background only, then some breaking up of the css to its own would be required.
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

 

 

Similar Threads

  1. v139h Product Description Page Alignment Help
    By nolsowski in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 26 Mar 2012, 06:36 PM
  2. Product title and description below image
    By mac08 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Apr 2011, 08:57 AM
  3. Product description alignment
    By krisdiamond in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jan 2011, 10:42 PM
  4. product description alignment
    By louisapple in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Apr 2009, 04:51 PM
  5. Product Description Alignment Question
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 29 Apr 2009, 09:14 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