If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / how to split categories in 3 different parts of index page?

how to split categories in 3 different parts of index page?

Locked

Started by giuly on 17 Aug 2010, 11:47 PM · Views: 985

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Aug 2010, 11:47 PM
#1
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #1 by giuly

hello I have a question, I would change at all my index page of zencart, I would that categories are split in 3 different lines of index page, so I would insert
1 line for product category 1, and relative images of that category
2nd line for product category 2 and relative images of that category
3rd........

I would do a thing like toysrus com
So the question is how can I do using css? where to insert sideboxes in way that from admin panel I can change their position?

any link that explain how to do?

thanks in advance
:smile:

18 Aug 2010, 12:34 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #2 by gjh42

You can do something like that with Categories Dressing from Free Addons.
Use the chcategories option and set it to show top and first subcats, and position the top cat groups absolutely. See the support thread, posts 504 and 510, for an example screenshot and description.

18 Aug 2010, 11:07 PM
#3
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #3 by giuly

thanks for reply, I use your addon now at left page, and it works very good.
But I would in this case, that the categories, splitted are in different places on center of page, where in default I see featured products, products,etc...
How can I do this way?
thanks :blush:

18 Aug 2010, 11:35 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #4 by gjh42

Since most of the positioning/styling effects are done in the stylesheet, if you were to make rules for the center layout in index_home.css and put the regular layout rules in your base stylesheet.css, you could probably get the two different layouts on the homepage and other pages. This is presuming that you don't want the categories displayed twice on your homepage (both sidebox and center). If you want that, you will need to do a bunch of custom coding. It may be possible by cloning and renaming the existing categories sidebox files.

19 Aug 2010, 1:51 PM
#5
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #5 by giuly

thanks for advice, I will focus on stylesheet.
:smile: