VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: RensvN on August 02, 2016, 11:58:13 AM

Title: Missing Add to cart button/ show product information
Post by: RensvN on August 02, 2016, 11:58:13 AM
Hi,

m building an webshop with Virtuemart in combination with JSN-force template.
The add to cart/show product description buttons are showing while hovering but I would like to have these just below my product image.
I would like to have these because this is more "mobile-friendly" in my opinion.

When I put products-layout on "Products horizon" the buttons are shown but completely on the right.
Is there an better solution to change this?
http://dogmolen.com/webshop (http://dogmolen.com/webshop)
Title: Re: Missing Add to cart button/ show product information
Post by: GJC Web Design on August 02, 2016, 14:30:45 PM
Yes.. but your asking for advice on adapting a commercial template..

why not just study the code of the std. VM template category view and use that code... it does as you want
Title: Re: Missing Add to cart button/ show product information
Post by: RensvN on August 04, 2016, 22:17:01 PM
Thanks for your reply.

I've tried it with the standard VM-teplates but than everything is a big mes.

I also tried to set layout for articles in categpry on "products horizon".
It's a lot better then, but still facing some problems if I do so.
As you can see on the image is that the all information and buttons below my images is moved to the right.
Can you please tell me how I can move this to the center?
(http://i66.tinypic.com/2hds45c.png)

Many thanks in advance!
Title: Re: Missing Add to cart button/ show product information
Post by: GJC Web Design on August 04, 2016, 22:47:41 PM
.vm-product-details-container {
  box-sizing: border-box;
  clear: both;
  float: none;
  padding: 0;
  width: auto;
}