Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    71
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  3. #3
    Join Date
    Oct 2005
    Posts
    71
    Plugin Contributions
    0

    Default Re: Stylesheet naming for Categories and SubCategories

    Thanks! I got it working!

 

 

Similar Threads

  1. v150 Images for Categories, Subcategories and Sub-Subcategories.
    By shannonphx in forum Customization from the Admin
    Replies: 5
    Last Post: 16 Aug 2013, 08:59 PM
  2. Categories and subcategories
    By gmartakis in forum General Questions
    Replies: 1
    Last Post: 24 Jan 2013, 11:25 AM
  3. categories and subcategories
    By lissa8723 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Apr 2010, 11:41 AM
  4. fonts for categories and subcategories
    By TonySoprano in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Dec 2007, 09:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg