Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / images instead of text for categories

images instead of text for categories

Views: 1,520

Results 1 to 10 of 10
14 Jun 2014, 2:14 PM
#1
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

images instead of text for categories

I would like to setup images instead of text for my categories. So i figured I can delete the text from categories and set the sort order manuly.. so for a would be 1 for b 2 etc etc...

but the box that the images go in is the wrong size.. I would like to be like 100x100. how do I change that?

Attachment 14170

14 Jun 2014, 3:44 PM
#2
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: images instead of text for categories

In admin-configuration-images you will see settings for various things. The one you want is for subcategory width and height. Change those to your liking.

14 Jun 2014, 10:11 PM
#3
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

Re: images instead of text for categories

I changed those setting to 500 by 500 but did not do anything.Attachment 14173

15 Jun 2014, 6:00 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: images instead of text for categories

lukaswlu:

I changed those setting to 500 by 500 but did not do anything.Attachment 14173

What is the original size of the image(s) are they smaller than the setting(s) tried or larger? Typically asetting larger than the image will simply give more space around the image, while a setting smaller will actually down size the image.

15 Jun 2014, 1:38 PM
#5
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: images instead of text for categories

lukaswlu:

I would like to setup images instead of text for my categories. So i figured I can delete the text from categories and set the sort order manuly.. so for a would be 1 for b 2 etc etc...

but the box that the images go in is the wrong size.. I would like to be like 100x100. how do I change that?

Attachment 14170

If you post a link to your site it will be easier to help.

Thanks,

Anne

15 Jun 2014, 2:19 PM
#6
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

Re: images instead of text for categories

my image is 500x500.

http://tinyurl.com/k5cng6x

and my settings are:
Subcategory Image Width The pixel width of subcategory images 500
Subcategory Image Height The pixel height of subcategory images 500

18 Jun 2014, 12:59 AM
#7
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

Re: images instead of text for categories

anyone has idea how to fix this? its bothering me alot :(

18 Jun 2014, 1:56 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: images instead of text for categories

Do you really want the subcategory images to display at 500x500 pixels? With 20 subcats in the category you linked to, that would give a page 5000 pixels high assuming you can fit two images side by side in the main content column... questionable since your entire page template is set to 940 pixels wide, including a side column, thus you get a page 10,000 pixels high. Are people going to be willing to scroll down that far to see all the subcats?

Meanwhile, your stylesheet.css (line 316) says:```
.categoryListBoxContents img {
float: left;
height: 70px;
margin-bottom: 0;
width: 70px;
}

18 Jun 2014, 2:12 PM
#9
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

Re: images instead of text for categories

Well no, i Want them to be same size as product images. So not sure. 190 by 190? Should I change things in my stylesheet directly?

18 Jun 2014, 11:08 PM
#10
lukaswlu avatar

lukaswlu

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
31
Plugin Contributions:
0

Re: images instead of text for categories

ok I changed it in the file stylsheet_main.css and it works great. thanks alot.