Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images



    I just searched the developers tool kit for "clearboth"

    There are many others, but the file specified: /www/includes/templates/custom/templates/tpl_product_info_display.php

    has this:

    /home/ratkiss/public_html/includes/templates/custom/templates/tpl_product_info_display.php
    Line #134 : <br class="clearBoth" />

    Line #193 : <br class="clearBoth" />

    Line #197 : <br class="clearBoth" />


    None of which are near the additional images in the file itself?


    This makes no sense as to why it still shows and is being used. I'm a little confused and I guess I will have to let it be how it is. Thanks for trying Kobra.

  2. #12
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    I found a little something in my stylesheet.css!

    I had
    #productDescription { clear: both}

    I removed that and went back to the default modules_product_info_display.php

    That lined up the description to the right. Any suggestions what I can do to line the images up again, or is this not possible?

  3. #13
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: move description to the right of images

    Great!!! That would have added it back in where you removed it from the code...

    Now on to the next:

    Make these changes/additions to the stylesheet

    Code:
    #productDescription {
    float: right;
    width: 68%;
    }
    
    #productAdditionalImages {
    width: 180px;
    }
    
    #productAdditionalImages img {
    margin : 1em 0 1em 0;
    float : left;
    }
    
    Reduce this tag to a single entry by deleting it from others
    .additionalImages {
    clear: both;
    }
    Now back to the code:

    #productAdditionalImages exists outside of the div, id=productGeneral, class=centerColumn and is probably from moving/editing tpl_product_info_display.php.

    Check where the center div begins & ends and where the additional images starts. This needs to be contained within or before the end of the center to be able to move them up higher
    Zen-Venom Get Bitten

  4. #14
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    Quote Originally Posted by kobra View Post

    #productAdditionalImages exists outside of the div, id=productGeneral, class=centerColumn and is probably from moving/editing tpl_product_info_display.php.

    Check where the center div begins & ends and where the additional images starts. This needs to be contained within or before the end of the center to be able to move them up higher
    Thank you I got through the stylesheet corrections/changes.

    But, (you know there had to be a but, sorry!)

    I'm a little confused about the last part.
    Is this what I am looking for? This is at the very beginning of my tpl__product_info_display.php file.

    PHP Code:
    <div class="centerColumn" id="productGeneral"
    Now I looked for the additional images <--bof--> <--eof-->
    and move that above the div shown above. Is that what you meant to do?

    I tried that and it looked funny.

    I don't think I'm following you right here, sorry!

  5. #15
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: move description to the right of images

    Is this red highlighted entry in your tpl_product_info_display.php file ? Or might it be from a setting in the admin?
    Code:
    <div class="additionalImages centeredContent back" style="width:50%;">
    Zen-Venom Get Bitten

  6. #16
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    No, that isn't in my product_info_display.php file.

  7. #17
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    I found it in an admin setting.
    I had additional images per row set to 2

    Changed it to 1 and now it shows the code as follows:

    PHP Code:
    <div class="additionalImages centeredContent back" style="width:100%;"

  8. #18
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    Quote Originally Posted by sheba10 View Post
    I found it in an admin setting.
    I had additional images per row set to 2

    Changed it to 1 and now it shows the code as follows:

    PHP Code:
    <div class="additionalImages centeredContent back" style="width:100%;"
    Is this what I want? I've been fiddling with my php file for a couple days and when I move something another gets out of wack.
    I'm coming to think I'm at a loss here.

  9. #19
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: move description to the right of images

    I searched on here some more and moved my additional images right under the main image and put them together in their own <div>.

    I floated some things differently in the stylesheet and now I don't think I can get any closer than that!

    If anyone can help with one last thing:

    How can I make the additional images display right next to each other under the main image.

    Like:
    1
    23

  10. #20
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: move description to the right of images

    If not broken by your edits this should be controlled in the admin > config > images > Product Info - Number of Additional Images per Row > set to the desired # per row
    Zen-Venom Get Bitten

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 Can I move the description on all products page to right of image?
    By cshart in forum Basic Configuration
    Replies: 2
    Last Post: 16 Aug 2013, 05:08 PM
  2. Product Description/Info page: can I move price right below model without space?
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Jun 2012, 01:38 AM
  3. Move the Attribute images to the right of the Attribute
    By autodefrost in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jan 2011, 01:24 AM
  4. How to move the product name and description to right?
    By besparkling in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2010, 05:08 AM
  5. How to move additional images to the right of main product image
    By davale in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 20 Sep 2006, 02:27 PM

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