Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    17
    Plugin Contributions
    0

    bug 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

  2. #2
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

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

    Quote Originally Posted by alanekilauea View Post
    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?

  4. #4
    Join Date
    Jul 2007
    Posts
    17
    Plugin Contributions
    0

    Default 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

    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

 

 

Similar Threads

  1. v150 [Not a bug] Category Specific Access Restriction‏
    By raf696 in forum Bug Reports
    Replies: 3
    Last Post: 17 Mar 2012, 03:26 AM
  2. category specific css for different browsers
    By eVelt in forum Templates, Stylesheets, Page Layout
    Replies: 31
    Last Post: 18 Jul 2010, 09:51 PM
  3. Show Specific Category on Index Listing or Add Entire Category to Featured Products.
    By devnut in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Oct 2008, 04:29 PM
  4. category-specific css
    By BekahRuth in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Feb 2007, 12:24 AM
  5. CSS per category doesn't seem to work.
    By voltage in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 16 Jul 2006, 07:29 PM

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