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 »

Change font color in Sidebar Widget current-page


  #1  
Old Feb 20, 2013, 08:34 PM
jasonheller
 
7 posts · Jul 2012
Hello everyone,

Firstly I would like to say that this forum is an incredible resource, and thanks for all of the amazing effort everyone puts in to it.

OK, so I am stuck on a seemingly simple problem. I have trawled the BFA forum as well as elsewhere but haven't found a solution that works for me.

I have a sidebar widget (Flexible Posts Widget) to list my posts in the sidebar. Easy enough to change the color in Style Widgets, but for the life of me I cannot modify the color of the Current Page. Basically I just want the current post title to Change Color when active, in order to not need to use headings or titles within the post itself.

(It is a list of artists, if that makes a difference.)

I have only made a couple of CSS additions and they are for the Page Menu, so shouldn't affect the sidebar at all.

The site is also still under construction so I cannot link to it.
Let me know of that is needed and I will allow access.
Any thoughts woud be appreciated.

Oh, I'm using Atahualpa 3.7.7 (i know.. update) and WP 3.5.1

Thanks in advance.
Jason.
  #2  
Old Feb 20, 2013, 09:32 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I really need to see the site to have a chance of determining what you need to do or even if it can be done.
__________________
~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 Feb 20, 2013, 10:18 PM
jasonheller
 
7 posts · Jul 2012
Hi there, I thought that might be the case.

http://mappingsouth.net/edmonds-clarke/

OK, so its still in development, but I'd really like to try to solve this issue, if possible.

It is the left sidebar that I would like to have the artists name remain in the selected colour while the viewer is on that page.

I know it is a CSS trick, and I believe it is within the flexible posts widget, but I am unable to solve it myself.

Any advice would be very much appreciated.
  #4  
Old Feb 20, 2013, 10:46 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I don't see a way to do what you want with the way the plugin is built. I of course could be missing something however.
__________________
~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.
  #5  
Old Feb 21, 2013, 12:40 AM
jasonheller
 
7 posts · Jul 2012
Thanks for looking. I'll post back if I find a solution.
  #6  
Old Feb 21, 2013, 04:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the issue is you need to have a class like 'current-page' added to the link of the current page. there is an explaination of how to copy a file from the plugin to the theme if you want to make modifications to it, but you are going to have to write some PHP code and look at some of the WP functions to try to get this done.

once you add teh class, the rest is a snap.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Feb 21, 2013, 05:09 AM
jasonheller
 
7 posts · Jul 2012
Thanks for the tip. I'll play around with it and post the code here if I make it work so others can use it in the future.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change font color of a widget tikijj Sidebars & Widgets 1 Oct 11, 2011 07:26 PM
WordPress Menus - How to Change the Background Color of the Current Page/Category gomeetpete Page & Category Menu Bars 1 Nov 1, 2010 07:59 PM
[SOLVED] Change current page menu bar background color Wimbledon Page & Category Menu Bars 7 Apr 4, 2010 01:33 AM
[SOLVED] Sidebar page nav widget - text color of current page TheBoringOne Sidebars & Widgets 3 Dec 12, 2009 11:29 PM
How do I change the Font color and bullets for the Page title in the Page Widget chrysos Page & Category Menu Bars 2 May 31, 2009 07:15 PM


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


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