Forums / Templates, Stylesheets, Page Layout / Stylesheet naming for Categories and SubCategories

Stylesheet naming for Categories and SubCategories

Locked

Views: 1,195

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Mar 2008, 1:33 AM
#1
noella avatar

noella

New Zenner

Join Date:
Oct 2005
Posts:
71
Plugin Contributions:
0

Stylesheet naming for Categories and SubCategories

I got that for categories, I name them c_1.css for the main category page or c_1_2.css for the subcategory pages.

Is there are way though for c_1.css to apply for all the pages under that category unless I upload one specifically such as c_1_2.css for that sub cat? B/c right now, I have to name and upload an individual css file for every subcategory which is kind of annoying with it's just the same as the main one for that category.

What code would I need to modify in order to do that?
Thanks!

20 Mar 2008, 1:41 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stylesheet naming for Categories and SubCategories

You would need to edit (or rather override) the common/html_header.php file to change how stylesheets are loaded.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Mar 2008, 1:36 AM
#3
noella avatar

noella

New Zenner

Join Date:
Oct 2005
Posts:
71
Plugin Contributions:
0

Re: Stylesheet naming for Categories and SubCategories

Thanks! I got it working!