Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Help with distinguishing active category?


  #1  
Old Apr 22, 2010, 10:15 AM
samij0
 
18 posts · Nov 2009
Hi Juggledad,

I'm trying to highlight the active category and I'm using the horizontal category bar. So, I put this into the css inserts:

HTML Code:
#menu2 ul.rMenu li a:active,  
#menu2 ul.rMenu li {
	background: #black !important;
	color: #fff !important;
}
But, it still isn't highlighting the active category. Any suggestions? Thanks
  #2  
Old Apr 22, 2010, 01:39 PM
samij0
 
18 posts · Nov 2009
Lightbulb Help with distinguishing active category?

Hi.

I'm working on a blog that is currently in maintenance mode, and I've been trying to highlight the active category in the category bar but it just doesn't seem to be working. I've tried adding this to css:

HTML Code:
#menu2 ul.rMenu li a:link, 
#menu2 ul.rMenu li a:visited {
	background: #000 !important;
	color: #999 !important;
}

#menu2 ul.rMenu li a:hover, 
#menu2 ul.rMenu li a:active {
	background: #000 !important;
	color: #fff !important;
}
I am able to control the default, visited, and hover colors with the above code, but not the active color. I also tried this code:

HTML Code:
li.current-cat {
color: #123456;
}
But that didn't work either. I'm wondering, if there is no way to highlight the active category, is there a way that I can just put the name of the category above the posts when you're in the category page? For instance, if I click on the category "News" can I place text above the posts within this category that says "You're viewing posts categorized as 'News'" ? I'd just like some way to distinguish the active category so that readers know where they are within the blog.
  #3  
Old Apr 22, 2010, 02:33 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
a post can be assigned to more than one category, so which would be the active one?

If you use teh category menu and select a category, the menu item should highlight, it has a class called 'current-cat' but if you are looking at posts, there is no 'active' category
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Apr 22, 2010, 02:47 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
in a fresh install of atahualpa, if you use the category menu bar and pick a category, that category in the category menu bar will be red (the rest are gray) this is set by the 'Background color: Hover'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
active category



Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight active category / page item in menus vjoseph Page & Category Menu Bars 31 Apr 30, 2012 06:08 PM
[SOLVED] active menu > how to keep active a link in menu page? bender57 Page & Category Menu Bars 1 Apr 28, 2010 07:44 AM
How do I highlight active category on a combined page & category menu bar? samij0 Page & Category Menu Bars 0 Mar 11, 2010 01:37 PM
email addresses active Jac Atahualpa 3 Wordpress theme 1 Oct 6, 2009 04:56 AM
Menu bar not active chincho Page & Category Menu Bars 1 Sep 9, 2009 09:41 AM


All times are GMT -6. The time now is 07:50 AM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.