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 » Sidebars & Widgets »

Need same current page behavior for both inner and outer sidebars


 
Prev Previous Post   Next Post Next
  #1  
Old May 19, 2010, 10:44 PM
mrsherman
 
2 posts · May 2010
Need same current page behavior for both inner and outer sidebars

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!
 

Bookmarks



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


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


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