Post by aus10 » Tue Mar 04, 2014 6:46 am

I am having some issue with my images here. If I have 3 or so additional images they line up and drop to the next line... problem is they drop to the next line even if they don't need to as in when I have 2 images.

What I have been trying to do is make it to where the additional images go all the way across under the main image, and product information, but I can't seem to get them to not wrap. I tried moving the code for the images in the products.tpl to below the left right sections but they still wrap as they do normally. (even with just 2 images as I said.)

I may have very well messed something up and didnt revert properly but I don't think so.

*Won't let me upload the product.tpl here, if youd take a look for me let me know where to send it and/or the stylesheet.
Last edited by aus10 on Sun Mar 09, 2014 10:30 am, edited 1 time in total.

New member

Posts

Joined
Mon Jul 22, 2013 10:48 am

Post by nosecret » Wed Mar 05, 2014 8:10 pm

Maybe there are duplicate code on there.
Please check it

Active Member

Posts

Joined
Tue Dec 28, 2010 12:28 pm

Post by aus10 » Thu Mar 06, 2014 6:02 am

Code: Select all

 <div class="product-info">
    <?php if ($thumb || $images) { ?>
    <div class="left">
      <?php if ($thumb) { ?>
      <div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="colorbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /></a></div>
      <?php } ?>
      <?php if ($images) { ?>
      <div class="image-additional">
      <?php foreach ($images as $image) { ?>
      <a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="colorbox"><img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
      <?php } ?>
      </div>
      <?php } ?>
    </div>

New member

Posts

Joined
Mon Jul 22, 2013 10:48 am
Who is online

Users browsing this forum: No registered users and 5 guests