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 »

Highlighting Active Category Links in Menu


  #1  
Old Dec 12, 2012, 11:49 AM
johnnyinstereo
 
18 posts · Oct 2012
Help Highlighting Active Category Links in Menu

Hi. I'm using Ata 3.7.9 and I'm having trouble styling the CSS to highlight active category pages. I've got it to where it highlights active pages, but not categories. Here's the css I'm using:

Code:
#nav ul li.current_cat a{
	color: #FFFFFF;
	text-decoration: none;	
background-image: url(/q1productions/wp-content/themes/atahualpa/images/mainnav_gradient.jpg);
	background-repeat: repeat;
	
}

#nav ul li.current-cat a:active{
border: none;
visibility: visible;
background: none;
color: #ffffff;
background-image: url(/q1productions/wp-content/themes/atahualpa/images/mainnav_gradient.jpg);
display: inline;
list-style-position: outside;
	list-style-type: circle;

} 

#nav ul li.current-cat ul li a:active{
border: none;
visibility: visible;
background: none;


} 
 

#nav ul ul li.current-cat a:active{
border: none;
visibility: visible;
background: none;
color: #e5e16f;

display: inline;
list-style-position: outside;
	list-style-type: circle;

}
I know that what I'm doing wrong is a simple solution, so any help will be appreciated.

Thanks,

Johnny
  #2  
Old Dec 12, 2012, 01:52 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How are you determining your CSS selectors? What do you mean by active category pages? Are you talking about the menu tabs? Do you have a link to your site?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Dec 12, 2012, 03:23 PM
johnnyinstereo
 
18 posts · Oct 2012
Yes it is for a menu in the header. The address is www.bearbonesstudios.com/q1productions

The links under conferences are not highlighting, but the links under Webinars are highlighting because right now those links are pages.
  #4  
Old Dec 13, 2012, 04:18 PM
johnnyinstereo
 
18 posts · Oct 2012
Anyone got any answers for ol Johnny?
  #5  
Old Dec 13, 2012, 05:05 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You have to use a tool like Firebug to determine the CSS selectors and then apply the necessary CSS. There is no theme setting to do this.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Dec 14, 2012, 09:39 AM
johnnyinstereo
 
18 posts · Oct 2012
Awesome.. So I've found the id as menu-item-163

How would I make this id an active link?

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to style active links in widgets? Gezow Atahualpa 3 Wordpress theme 1 Jun 18, 2011 08:05 AM
[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
Background Color Active Links Zen Nomad Page & Category Menu Bars 0 Nov 15, 2009 08:53 AM
BUGFIX 342 Highlighting of category in category menu bar is gone upscho Old Version fixes and change logs 2 Jul 27, 2009 06:28 AM


All times are GMT -6. The time now is 04:13 PM.


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