Home
Adjust store home category layout

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;

 


Request Services
 
First Name
Last Name
E-mail
Phone
Domain
Service needed
Budget
  
Watch video overview


+ Suggested tags