Joomla web development, eMarketing and training
Home Joomla 1.5 Web Development Virtuemart 1.1.2 Adjust store home category layout
Virtuemart 1.1.2
Adjust store home category layout
Saturday, 04 October 2008 14:24

Question: We want to edit the home page layout and the default category items per row. At present the default is set to 4 items, and it is to crowded.  We want 3 categories per row.  We can't find any place to set this in the configuration or browse templates. Help.

Answer:
To edit the default store index and the store home page category layout, you have to edit the store index which is shopIndex.tpl.php, and categoryChildlist.tpl.php.  Both are located in components > com_virtuemart > themes > default > templates > common

To set default number of categries per row change the value of the variable in line 6 from 4 to whatever you like.

$categories_per_row = 4;

 

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:



+ Suggested tags