Shape 5

Joomla Templates => eMercantilism - January 08 - Club => : gimpydvm July 22, 2009, 07:40:33 AM



: 2 rows of categories on home page?
: gimpydvm July 22, 2009, 07:40:33 AM
I found similar questions in the forum but none of the answers seemed to fix my issue.

When I add a 4th category to my site, the last category gets superimposed over the right column on the front page. Is there a way to:

1. Add 6 categories per row. Do I need to change the thumbnail size? Do I need to change the width of the template? How
2. Can I simply add 2 rows of categories? This would be much preferred and my ideal fix.

Thanks for all the help.

M


: Re: 2 rows of categories on home page?
: jonahh July 23, 2009, 01:04:46 PM
Can you post a URL of where this is occurring?


: Re: 2 rows of categories on home page?
: gimpydvm July 23, 2009, 01:55:40 PM
the url is www.gotribalnowshop.com

The problem is that the owner will murder me if I put a category up there and have it displayed over the right column. Basically if I publish the category, it gets superimposed over the right column.

Any ideas?


: Re: 2 rows of categories on home page?
: jonahh July 27, 2009, 02:07:34 PM
Ok I see, what you'll have to do is open up the categoryChildlist.tpl.php file:

components/com_virtuemart/themes/default/templates/common/categoryChildlist.tpl.php

Look for the below code and change to however many rows you need.  Yes you will also have to adjust the image width.


if( !isset( $categories_per_row )) {
   $categories_per_row = 3;
}