Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Current Category Color

    I tried a search, didnt find exactly what i need.....

    I want the currently selected category to be a specific color... My categories will be deep, i feel this will be necessary to have, just to know where you are right now......

    IE: You click a category, and it changes to a specific color, NOT the hover over, or visited color... You click another main category, the old one goes back to blue, and the currently select changes...... Sounds easy, im sure it is to you guys, lol.....

    My visited links are the same as normal in color, so they are always blue... i think visited link colors should stay in the 1990's, no offence for those who still use them. lol.

    And even if i enabled "visited link" color to something else, that still dosent tell you where you are if you have been through the site much, just where you have been....

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Current Category Color

    This is how the Classic template does this:
    Code:
    SPAN.category-subs-parent {
    	font-weight: bold;
    	}
    SPAN.category-subs-selected {
    	font-weight: bold;
    	}
    You can set color the same way.

  3. #3
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Current Category Color

    excellent, something i can work with. i dropped it in at the bottom and it works. thanks man

  4. #4
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Current Category Color

    Ok, ive use the above code to enable the function i want. and it works but only if there are subcategories, which is fine....

    but, i want to expand this up to the "EzPages" listing. They will not have subcategories.... What can i do to enable this for the expages with no subcats? thanks

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Current Category Color

    EZ-Pages are a completely separate feature, and have no provision for this function built into the code. It would likely take some serious PHP coding to do this.

  6. #6
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Current Category Color

    Quote Originally Posted by gjh42 View Post
    EZ-Pages are a completely separate feature, and have no provision for this function built into the code. It would likely take some serious PHP coding to do this.
    Well, im no serious PHP coder.... lol Maybe theres another way, it just dosent seem that complicated, but im sure it is.... i mean if theres a "visted link color"

    and BTW, your site is awesome GJH42. I really like the stuff you have on there. You make that stuff? wow

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Current Category Color

    You could certainly add a visited link color for ez-pages links, but it wouldn't be able to tell you where you are currently.

    And thanks - yep, all made in America by the three of us :)

 

 

Similar Threads

  1. v151 Display Current Category Image in Custom Menu
    By Enzo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2014, 03:50 PM
  2. Get product names of current category
    By perfumbg in forum General Questions
    Replies: 2
    Last Post: 15 Jan 2014, 05:02 PM
  3. Flyout Menu highlight current category
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jul 2012, 06:06 PM
  4. Only shoe current category subcategories
    By MCanes in forum General Questions
    Replies: 15
    Last Post: 14 Apr 2009, 01:25 PM
  5. Current Category Product List Sidebox
    By Aetherlux in forum Addon Sideboxes
    Replies: 1
    Last Post: 21 Feb 2009, 12:03 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