Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to put sub-categories in one row and space them out

How to put sub-categories in one row and space them out

Views: 1,047

Results 1 to 12 of 12
19 Mar 2011, 11:14 PM
#1
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

How to put sub-categories in one row and space them out

I would like to put the 3 sub-categories on this page http://www.day2remember.com.au/index.php?main_page=index&cPath=16 in one row and space them out evenly. At the moment it looks very odd. I don't seem to be able to find the setting anywhere in the admin.

Any advice will be highly appreciated.
Thanks

PS. I am using Zen-cart v1.3.8a

19 Mar 2011, 11:49 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to put sub-categories in one row and space them out

Switch to the classic template and see what displays

20 Mar 2011, 12:08 AM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How to put sub-categories in one row and space them out

ad2r:

I would like to put the 3 sub-categories on this page http://www.day2remember.com.au/index.php?main_page=index&cPath=16 in one row and space them out evenly. At the moment it looks very odd. I don't seem to be able to find the setting anywhere in the admin.

Any advice will be highly appreciated.
Thanks

PS. I am using Zen-cart v1.3.8a

It might have something to do with the conflicting inline styles for the width. (see the highlighted portions)

<td  style="width:45%;"  class="categoryListBoxContents" style="width:50%;" ><a href="http://www.day2remember.com.au/index.php?main_page=index&cPath=16_14&zenid=sblftr88sjh2d7vdn2jmqufk93"><img src="bmz_cache/c/c03bd2ecb1d320ed6bc4078569413667.image.66x100.jpg" alt="8 x 10 inch" title=" 8 x 10 inch " width="66" height="100" /><br />8 x 10 inch</a></td>    <td  style="width:45%;"  class="categoryListBoxContents" style="width:50%;" ><a href="http://www.day2remember.com.au/index.php?main_page=index&cPath=16_6&zenid=sblftr88sjh2d7vdn2jmqufk93"><img src="bmz_cache/f/fdc385a088f60ad5976b01276dcc8330.image.66x100.jpg" alt="11 x 14 inch" title=" 11 x 14 inch " width="66" height="100" /><br />11 x 14 inch</a></td></tr><tr>


<td  style="width:45%;"  class="categoryListBoxContents" style="width:50%;" ><a href="http://www.day2remember.com.au/index.php?main_page=index&cPath=16_13&zenid=sblftr88sjh2d7vdn2jmqufk93"><img src="bmz_cache/d/d91b4f926981863607f354c504d53725.image.66x100.jpg" alt="Canvas" title=" Canvas " width="66" height="100" /><br />Canvas</a></td></tr><tr>
20 Mar 2011, 2:19 AM
#4
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

Re: How to put sub-categories in one row and space them out

Which template is that in?

20 Mar 2011, 3:15 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How to put sub-categories in one row and space them out

ad2r:

Which template is that in?

Whatever template you are using for your site.

20 Mar 2011, 3:18 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to put sub-categories in one row and space them out

Which template is that in?
Did you try switching to the classic template to see how it displays??

If correctly, that would narrow it to one of the current template files

20 Mar 2011, 3:23 AM
#7
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

Re: How to put sub-categories in one row and space them out

Whatever template you are using for your site.

I guess my stylesheet.css

Did you try switching to the classic template to see how it displays??

If correctly, that would narrow it to one of the current template files

No I didn't. I'm scared to mess up something and not be able to put it back the way it was.

20 Mar 2011, 3:40 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to put sub-categories in one row and space them out

No I didn't. I'm scared to mess up something and not be able to put it back the way it was.
Just switch to see

DO NOT change any admin settings for anything else

It is not in your atylesheet - I suspect that it is a template file assuming that the overrides system has been adhered to

20 Mar 2011, 6:48 AM
#9
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

Re: How to put sub-categories in one row and space them out

I did that and nothing changed, except that now I don't know how to put it back to my old template. The old template is not available thru admin. I am not sure how it was installed before. Someone did it for me

20 Mar 2011, 7:17 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to put sub-categories in one row and space them out

I am seeing your original template...

20 Mar 2011, 7:29 AM
#11
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

Re: How to put sub-categories in one row and space them out

Yes, but the homepage text, featured product and all of that is messed up and on the side. I remember seeing in my admin template directory was D2R and now it says classic. I don't know where to change that so that I can point to the right directory and the right template. I know when I was changing stuff in the stylesheet.css I used to go to includes/templates/template_default/css/ but now its the classic directory

20 Mar 2011, 10:28 AM
#12
ad2r avatar

ad2r

New Zenner

Join Date:
Aug 2008
Location:
Sydney
Posts:
43
Plugin Contributions:
0

Re: How to put sub-categories in one row and space them out

Thanks guys for your help. I sorted it out.