VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: raunhar on January 20, 2012, 09:00:32 AM

Title: Number of category in a row
Post by: raunhar on January 20, 2012, 09:00:32 AM
Joomla version 1.7
VM Version 2
website: http://www.novelexports.com/index.php

I am using Shoplab template for VM.
Under the configuration, I have mentioned 3 Category per row.
But  the page shows 2 category on the first row and then 1 in each row.
Here are the shopfront settings:
Select the default template for your Shop  : Default
Category Template  : default
Category layout : default
Default number of categories in a row  : 3


VM Home Page settings:
Layout default
I am showing featured products.

How do I show the categories in a systematic way.
Title: Re: Number of category in a row
Post by: PRO on January 20, 2012, 12:14:39 PM
http://forum.virtuemart.net/index.php?topic=73348.0
Title: Re: Number of category in a row
Post by: raunhar on January 20, 2012, 12:38:22 PM
I did not edit the template or any theme.
I just installed the VM component and the template.

Entered the configuration inside VM, and started.

Although the products (Featured) are showing 3 in a row, but the Categories are not showing.
Title: Re: Number of category in a row
Post by: PRO on January 20, 2012, 13:32:41 PM
its the margin right

div.category, table.category {
    border: 1px solid #D5D2BB;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;
    margin-right: 10px;
    min-height: 160px;
}
Title: Re: Number of category in a row
Post by: raunhar on January 20, 2012, 13:35:40 PM
Which file?
and what should be the best configuration.
Title: Re: Number of category in a row
Post by: PRO on January 20, 2012, 13:49:42 PM
do you have firebug?
Title: Re: Number of category in a row
Post by: raunhar on January 20, 2012, 14:21:20 PM
No, but using Web Developer tool Bar.
Title: Re: Number of category in a row
Post by: PRO on January 20, 2012, 14:47:36 PM
styles.css
Title: Re: Number of category in a row
Post by: raunhar on January 20, 2012, 15:34:44 PM
Thanks a lot.
I changed the right margin to 5px and it worked.

Thanks again.