View Single Post
  #19  
Old 07-25-2014, 05:11 AM
Sergio87's Avatar
Sergio87 Sergio87 is offline
Ecwid Team
 
Join Date: Mar 2014
Posts: 1,512
Default

Quote:
Originally Posted by Adorha View Post
Hi,

An additional question,

Referring to previous attached picture (of the product category overview page / Shopping cart page): as we only have two product categories, how can they be centered on the page? (Currently both products are "tilted" to the left so the product category overview page does not look symmetric).

Best Regards,

Stan
Hello,

Currently there is a parameter in your store integration code that is responsible for number of categories per row view in your store. Since this parameter has “3” value - your store is prepared for showing 3 categories per row on your site, however there are only 2 categories on the store page hence they are "tilted" to the left.

If you would like your categories to be centered on your main store page you should just change this parameter in the source code of this page. I have marked it with red:

Code:
xProductBrowser(
"categoriesPerRow= 3",
"views=grid(1,3) list(10) table(2)",
"categoryView=grid",
"searchView=list"
Change it to:

Code:
xProductBrowser(
"categoriesPerRow= 2",
"views=grid(1,3) list(10) table(2)",
"categoryView=grid",
"searchView=list"
__________________
Sergey G., Ecwid Team
------------------
Welcome to our Help Center with a lot of answers and tips!