VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Wayne Farnworth on September 09, 2012, 14:29:09 PM

Title: How can I spread the additional image thumbnails across full width of page
Post by: Wayne Farnworth on September 09, 2012, 14:29:09 PM
Hello

I would like my additional image thumbnails to fill the full width of the page. At the moment they wrap around at half the width (see screenshot)

Can someone point me to the code that controls this please?

I have looked with Firebug but can't find it.

Many thanks

wayne



[attachment cleanup by admin]
Title: Re: How can I spread the additional image thumbnails across full width of page
Post by: ivus on September 09, 2012, 15:42:40 PM
Hi Wayne Farnworth,

That doesn't really help us either. There's many factors here. Do you have a URL?
Title: Re: How can I spread the additional image thumbnails across full width of page
Post by: Wayne Farnworth on September 09, 2012, 20:13:24 PM
Hello Ivus, thanks for the reply

URL is: www.carpetshack.co.uk

You will need to login under the Find Us menu

U: vmuser
P: vmuser

Then View Our Stock > Carpets > Twist Pile > Spectrum is the best example

Many thanks

wayne

Title: Re: How can I spread the additional image thumbnails across full width of page
Post by: ivus on September 10, 2012, 03:06:15 AM
Hi Wayne,

In your template file "/components/com_virtuemart/views/productdetails/tmpl/default.php" @ line 45



<div class="width50 floatleft">
<?php
echo $this->loadTemplate('images');
?>

</div>



<div class="width50 floatleft"> ... this container div... remove the width50.. in fat you can safely remove the entire class.

And I found this in firebug.

I hope this helps you out.
Title: Re: How can I spread the additional image thumbnails across full width of page
Post by: Wayne Farnworth on September 10, 2012, 10:19:40 AM
Ivus,

Yes that did it perfectly.

Many thanks for your help!

Wayne