VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: hotrod on March 11, 2014, 13:30:31 PM

Title: Product Page Lay out
Post by: hotrod on March 11, 2014, 13:30:31 PM
Trying to get the add to cart button area up top closer to the image like the truck parts store.
For the life of me I can't find it in Firebug..  Nor not sure what to do with it once I do..  See images below.
Link in question  http://s1069957.instanturl.net/index.php/shop-tackle/canyon-reels/hs-16/hs-16-2-speed-jigging-reel-detail

[attachment cleanup by admin]
Title: Re: Product Page Lay out
Post by: K&K media production on March 11, 2014, 17:30:55 PM
delete the margin in demo-style.css line 40 and 41
Title: Re: Product Page Lay out
Post by: jjk on March 11, 2014, 22:09:09 PM
In addition to kkmediaproduction's suggestion, you may also play with changing the image and buy container width in
...\components\com_virtuemart\views\productdetails\tmpl\default.php
The relevant lines are:
<div class="width60 floatleft">
<?php
echo $this->loadTemplate('images');
?>

</div>

<div class="width40 floatright">


You could change the width values and save the file as a template override.
Title: Re: Product Page Lay out
Post by: hotrod on March 12, 2014, 13:30:34 PM
That was simple  :)   Thanks Guys