Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Need same current page behavior for both inner and outer sidebars


  #1  
Old May 19, 2010, 11:44 PM
mrsherman
 
2 posts · May 2010
I have a site that uses both an inner and outer sidebar with Pages widget. The outer sidebar is displayed only for a small set of public pages; the inner sidebar (and not the outer one) is displayed for a larger set of password-protected pages. Reading this forum, I found the following code to change the color and add an underline to indicate a current page (so when someone goes to that page, the left navigation will show them what page they are actually on). Here's the code:

ul li.current_page_item a:link,
ul li.current_page_item a:visited,
ul li.current_page_item a:active,
ul li.current_page_item a:hover {
text-decoration:underline !important;
background:#FFFFFF !important;
color:#490095 !important
}

which does exactly what I want it to for the outer (left) sidebar. But the effect for the inner one is that all the pages now have the #490095 color and an underline applied all the time, so as soon as you login with the password to get to the private portion of the site, every page listed on the inner sidebar has changed color and acquired the underline. I can't figure out what I need to add in order to style the inner sidebar so it behaves the same as the outer one. (I added the above via the CSS Insert feature in Adahualpa.)

Any advice welcome -- THANKS!
  #2  
Old May 20, 2010, 06:20 AM
juggledad's Avatar
juggledad
 
23,737 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
How are you controling which sidebar (inner or outer) to display on the public vrs private pages?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 20, 2010, 07:23 AM
mrsherman
 
2 posts · May 2010
Ah, that's a thought. I'm excluding them, and originally did that in the Pages Widget but then realized I needed to do it in the Atahualpa settings ("Style and Configure Sidebars") so now they are probably listed both places. Could that be the problem? It wasn't clear to me where to add the exclusion list since both seem to be options, so I figured it was safer to do it both places, but perhaps that's confusing Atahualpa?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customising the current page highlighting thesis Page & Category Menu Bars 0 Jan 13, 2010 03:59 AM
[SOLVED] Sidebar page nav widget - text color of current page TheBoringOne Sidebars & Widgets 3 Dec 12, 2009 11:29 PM
Create space between the inner and outer sidebar Timo Page & Category Menu Bars 1 Dec 3, 2009 06:28 AM
[SOLVED] Strange Post behavior on some Page pages blueprairie Plugins & Atahualpa 6 Nov 9, 2009 07:34 PM
I don't understand the difference between inner and outer Widgets maximze Sidebars & Widgets 3 Oct 9, 2009 08:22 PM


All times are GMT -6. The time now is 03:38 AM.


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