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, 12:49 PM
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, 02: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, 04: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, 05:18 PM
johnnyinstereo
 
18 posts · Oct 2012
Anyone got any answers for ol Johnny?
  #5  
Old Dec 13, 2012, 06: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, 10: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, 11:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Dec 14, 2012, 11:55 AM
lmilesw's Avatar
lmilesw
 
10,176 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



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 09:05 AM
[SOLVED] active menu > how to keep active a link in menu page? bender57 Page & Category Menu Bars 1 Apr 28, 2010 08:44 AM
How do I highlight active category on a combined page & category menu bar? samij0 Page & Category Menu Bars 0 Mar 11, 2010 02:37 PM
Background Color Active Links Zen Nomad Page & Category Menu Bars 0 Nov 15, 2009 09:53 AM
BUGFIX 342 Highlighting of category in category menu bar is gone upscho Old Version fixes and change logs 2 Jul 27, 2009 07:28 AM


All times are GMT -6. The time now is 12:33 PM.


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