Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Posts
    1
    Plugin Contributions
    0

    Default Changing background colour for different categories

    Hi Guys,

    I have a category box with 10 different main categories and each main category has 5 subcategories.

    I would like to have each main category with a different background colour and the subcategories to appear underneath the main category in bullet points once someone clicks on it. The subcategories can appear the same colour as each other.

    I sincerely look forward to any help you guys can give me.

    Thanks!

  2. #2

    Default Re: Changing background colour for different categories

    Howdy,

    need to use css to do this.
    have a look in the text file that is in the css folder, but basicly, you have to create different css files for each of your categories and subcategories, something like c_4.css if your category id is 4...

    ++

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Changing background colour for different categories

    Quote Originally Posted by hackshawdave View Post
    Hi Guys,

    I have a category box with 10 different main categories and each main category has 5 subcategories.

    I would like to have each main category with a different background colour and the subcategories to appear underneath the main category in bullet points once someone clicks on it. The subcategories can appear the same colour as each other.

    I sincerely look forward to any help you guys can give me.

    Thanks!
    For sidebox then Category Dressing sidebox mod will do what you require
    http://www.zen-cart.com/index.php?ma...roducts_id=609
    Creating different stylesheets i.e. c_4.css affects
    whole template look, not just sideboxes.

 

 

Similar Threads

  1. v139h Different colour for categories?
    By PudzPud in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Oct 2013, 12:06 AM
  2. One product but different colour options, how to control stock for colour attribute?
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Sep 2010, 04:19 PM
  3. Changing Background Colour
    By robert_harper_2000 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Nov 2007, 01:06 AM
  4. Changing Background colour (Again)
    By actorxfactor in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Aug 2007, 11:28 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