Forums / Templates, Stylesheets, Page Layout / Bug? Category Specific CSS won't work on category id 1

Bug? Category Specific CSS won't work on category id 1

Locked

Views: 1,600

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Aug 2007, 10:09 PM
#1
alanekilauea avatar

alanekilauea

New Zenner

Join Date:
Jul 2007
Posts:
17
Plugin Contributions:
0

Bug? Category Specific CSS won't work on category id 1

I'm trying to use the category specific CSS to add a stylesheet to category 1.

I created a css file, uploaded it to my template css folder as c_1_00.css then checked /index.php?main_page=index&cPath=1. No luck, so I tried: c_01_00.css, c_01.css, c_1.css Nada. I thought it might be broken, I mean it should work exactly like this!

On a whim I renamed the stylesheet c_3.css and checked cPath=3 - viola! It worked perfectly. So it looks like the c_xx.css files work for any category BUT 1? Has anyone encountered this before?

Thanks!
Alane

1 Sep 2007, 9:52 PM
#2
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Bug? Category Specific CSS won't work on category id 1

c_1.css works fine for me ... what template are you using? What mods have you installed?

BrandTim

1 Sep 2007, 9:56 PM
#3
clydejones avatar

clydejones

Deceased

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

Re: Bug? Category Specific CSS won't work on category id 1

alanekilauea:

I'm trying to use the category specific CSS to add a stylesheet to category 1.

I created a css file, uploaded it to my template css folder as c_1_00.css then checked /index.php?main_page=index&cPath=1. No luck, so I tried: c_01_00.css, c_01.css, c_1.css Nada. I thought it might be broken, I mean it should work exactly like this!

On a whim I renamed the stylesheet c_3.css and checked cPath=3 - viola! It worked perfectly. So it looks like the c_xx.css files work for any category BUT 1? Has anyone encountered this before?

Thanks!
Alane

Do you have a URL for your site?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

4 Sep 2007, 7:18 PM
#4
alanekilauea avatar

alanekilauea

New Zenner

Join Date:
Jul 2007
Posts:
17
Plugin Contributions:
0

Re: Bug? Category Specific CSS won't work on category id 1

Hope those folks celebrating Labor Day had a good 3 day weekend!

Custom template, creating using files from the default

Mods are:

image handler 2.0

login box 1.4.1

priority handling 1.0

tinymce

column layout grid 1.3.6

:lamo: OK and now I feel like my cart is out to get me - after it steadfastly refused to recognize my c_1 sheet I included code into my html_header file to manually load the stylesheet. I figured I should remove that so I could demonstrate the problem and guess what? It worked, nice as you please. Only with c_1.css though, I tried renaming it to c_1_00.css and c_01.css, it didn't like either of those (other single digit categories like the c_x.css too, c_03.css doesn't work either).

The cart is at: http://www.hawaiiantropicals.com/index.php

It is almost live now, just working out the last few details in the graphics and shipping logic and then it will be open for orders.

Alane