Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Product description ALWAYS under Main Image and Additional images

    I've been working on trying to keep my product description BELOW my main product image. I've moved the additional images up above the description and if the product has additional images the description stays put and doesn't wrap around. Though if there are no additional images the description wraps around the main image. It really throws off the layout and feel of the page.

    I've done numerous searches on the forum and haven't found a solution that I understand. many posts refer to a "float" setting in CSS. Keep in mind I gave up doing html back when Netscape 2 was in beta and CSS is alien to me.

    I know there's just a simple tag or change that we accomplish this, though I just have not located it.

    Any help would be appreciated.

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

    Default Re: Product description ALWAYS under Main Image and Additional images

    In /includes/templates/your_template/css/stylesheet.css, find or add

    #productDescription {clear: both;}

  3. #3
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Product description ALWAYS under Main Image and Additional images

    Thank you very much, it worked great.

    To help me understand can you tell me what that statement is doing and what the parameters mean?

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

    Default Re: Product description ALWAYS under Main Image and Additional images

    The images are floated (left, in this case), which means they move by themselves as far to the top left as they can within their container area. Floated images are used for page layout, to get images embedded in a paragraph with the text smoothly flowing around them. Since you don't want that, the clear: property applied to #productDescription tells it to stay below any previous floats of that kind. You can clear left floats, right floats, or both, which works on everything.

    clear: left;
    clear: right;
    clear: both;

 

 

Similar Threads

  1. Additional images underneath main product image
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 2 Aug 2013, 07:40 PM
  2. Click additional images, always goto main image
    By anewstone in forum General Questions
    Replies: 1
    Last Post: 18 Apr 2012, 02:57 PM
  3. additional product images under description
    By awhite in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 Jul 2007, 08:01 PM
  4. Additional images left aligned under MAIN Image
    By caspar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Mar 2007, 07:13 AM
  5. Additional images UNDER main image - how?
    By cosmocanuck in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 Sep 2006, 05:29 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