Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Highlighting Active Category Links in Menu


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 12, 2012, 11:49 AM
johnnyinstereo
 
18 posts · Oct 2012
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,054 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,054 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?
  #7  
Old Dec 14, 2012, 10:47 AM
juggledad's Avatar
juggledad
 
21,971 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
You need to use teh code inspector to examine the HTML code for a link of a page when it is the active page and when it is not. See if there is a clss that you can use to configure the page when it is active.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #8  
Old Dec 14, 2012, 10:55 AM
lmilesw's Avatar
lmilesw
 
10,054 posts · Jul 2009
Central New York State USA
Also have you made a donation? I noticed you didn't have the Atahualpa credits on your site and the instructions for removing them are in the Gold forum so I thought maybe your profile wasn't set right. I can fix if that is the case.
__________________
~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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 08:47 AM.


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