Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Layout for Additional Images

    I am trying to add an additional picture to one of my products. I have many
    more to do but I have to start somewhere. I've got the second picture showing
    up, however, I would like to have the two pictures next to one another.
    Right now the second picture is underneath the first. I used firebug to narrow down the
    problem and I know that if I change:

    The page is : http://www.palmettoengraving.net/ind...products_id=17

    <div id="productAdditionalImages">
    <div class="additionalImages centeredContent back" style="width: 100%;">

    to

    <div id="productAdditionalImages">
    <div class="additionalImages centeredContent back" style="width: 50%;">

    everything looks fine- however, I don't know where to change that %. I have
    looked at the stylesheet and the tpl_product_info_display.php and I just
    can't find it. Pointing me in the right direction would be appreciated!
    Thanks
    Nancy

  2. #2
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Layout for Additional Images

    Well, I think I figured it out and I thought that I'd put this tidbit in for anyone else who may have the problem...

    On the page /includes/modules/additional_images.php, There is a line that reads

    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',

    That % sign at the end was the problem. I just removed it (Of course, with a backup of the original file- just in case). The images aren't perfect (yet) but at least they are next to each other and the best part is- I don't think that I broke anything else!

    Nancy

 

 

Similar Threads

  1. v150 layout settings for additional images
    By kelleymotorsports in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 25 Jul 2012, 01:53 AM
  2. Layout of Additional of Additional Product Images - Possible Bug?
    By RatMonkey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2011, 02:21 PM
  3. additional images layout
    By Checooper in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 7 Oct 2010, 03:19 AM
  4. Layout for additional images
    By libragear in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 May 2008, 05:30 PM
  5. layout changes for additional images
    By fyrestorm in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Nov 2007, 04:57 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