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 » Page & Category Menu Bars »

Link Color: Background for parent


  #1  
Old Aug 7, 2010, 08:08 AM
interfasys
 
46 posts · Aug 2010
Switzerland
The link colour for a parent item (Link Color: Parent) cannot be defined and thus reverts to the default value when rolling over a sub-menu.
It would be great if that feature could be introduced.

Last edited by interfasys; Aug 8, 2010 at 11:33 AM. Reason: additional info
  #2  
Old Aug 8, 2010, 04:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see http://forum.bytesforall.com/showthread.php?t=4720
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 8, 2010, 11:30 AM
interfasys
 
46 posts · Aug 2010
Switzerland
I'm talking about something different here.
In WP, there is a "Background color: Parent" property that adds adds a background to "li:hover a".
I was thinking that maybe the theme could introduce a "Link Color: Parent" feature.

Simply adding color: to "li:hover a" doesn't work because of the C in CSS.
  #4  
Old Aug 8, 2010, 11:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
In WP, there is a "Background color: Parent" property that adds adds a background to "li:hover a"
Really, where do you set it? I can't seem to find that WP option. Am I missing something on the Menu screen?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Aug 8, 2010, 11:59 AM
interfasys
 
46 posts · Aug 2010
Switzerland
It's on the Menu x page, in the Background color section
  #6  
Old Aug 8, 2010, 12:26 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
do you mean dashboard->Appearances->Menu? I don't see anything to change any colors/ Do you have a plugin?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Aug 8, 2010, 12:28 PM
interfasys
 
46 posts · Aug 2010
Switzerland
No, I mean:
Appearance > Atahualpa Theme Options > Menu 1
  #8  
Old Aug 8, 2010, 12:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Oh, you mean there is an Atahualpa option, not a WP option.

Bottom line - the Atahualpa menu options (page and CAT) are designed to work with the %pages and %cats not the new WordPress menus. While they will work to a degree, currently you are responsible to make sure via CSS Inserts, that the menu structure you build acts the way you want it to.

At some point in the future, Atahualpa may, I repeat may, let you set up colors for the wordpress menus, but that will be after the bugs settle out of the wordpress menu structure and Flynn (the owner and developer of Atahualpa) decides that it is something worth wild doing.

If this is something you really think is important and need right away, you could offer to pay Flynn to develop this new functionality. It's probably a 40-60 hour project (research, coding, testing)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Aug 8, 2010, 01:52 PM
interfasys
 
46 posts · Aug 2010
Switzerland
Quote:
Oh, you mean there is an Atahualpa option, not a WP option.
Yes, I meant an option managed through WP rather than through manual CSS inserts.

And it's true that in this case, it works fine with %pages, but not the WP menu system. I fixed it via CSS for the WP menu system and can wait for the theme to support it officially at some point.
  #10  
Old Aug 10, 2010, 11:29 AM
adum's Avatar
adum
 
85 posts · Jun 2009
I think I am trying to do what the original poster was intending to do here...

Atahualpa gives the option for background color of the parent page, when hovering over child items.

From what I understand, this occurs because of this CSS that's created:

Code:
div#menu1 ul.rMenu li:hover,
div#menu1 ul.rMenu li.sfhover {
background: #000;
}
I am trying to change the color of the text that shows on that parent menu item when hovering over child items...

I used that CSS and added the color I wanted, but no change occurred.

Is this CSS wrong? Is the solution more complex that it appears?

Thanks,

Adam
  #11  
Old Aug 10, 2010, 11:46 AM
interfasys
 
46 posts · Aug 2010
Switzerland
You need to change this:
Code:
div#menu1 ul.rMenu li:hover a ,
div#menu1 ul.rMenu li.sfhover a{
colour: #fff;
}
But then, because the changes made to links are cascading, everything in your children item will have the same properties, so you need to be creative. Same "problem" with parent and ancestor items.
  #12  
Old Aug 10, 2010, 11:55 AM
adum's Avatar
adum
 
85 posts · Jun 2009
Ahh I just figured out that you needed the "a" and came back here to report what you just said.

Is there a way to fix those child items? Do you have to use multiple li's in your css?
  #13  
Old Aug 10, 2010, 12:05 PM
adum's Avatar
adum
 
85 posts · Jun 2009
After some minor tinkering with multiple ul's and li's, I've decided this isn't worth the trouble. Too much effort for such a small cosmetic effect.
  #14  
Old Aug 10, 2010, 12:11 PM
interfasys
 
46 posts · Aug 2010
Switzerland
I did spend a lot of time to try and fix that behaviour and I ended up with 12 extra entries in my custom CSS :S
I had not done CSS for a long time, but it's apparently a big problem with menus. Everything is fine as long as you don't touch the a selector.
  #15  
Old Aug 10, 2010, 02:45 PM
adum's Avatar
adum
 
85 posts · Jun 2009
Care to share?

Or at least send it to Flynn, it could help him get that function in the next release of Atahualpa so that you can select the color within the ATO menus.
  #16  
Old Aug 10, 2010, 06:10 PM
interfasys
 
46 posts · Aug 2010
Switzerland
I'll post something in the gold forum

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to not link ALL parent items in Page Menu Bar? bongo Page & Category Menu Bars 6 Nov 10, 2010 11:14 PM
Conditional div background by Page Parent jaxon Atahualpa 3 Wordpress theme 9 May 6, 2010 10:19 AM
[SOLVED] Background image of child items not the same as parent noahinBR Header configuration & styling 2 Feb 4, 2010 12:43 PM
[SOLVED] Different title color and byline background color for different categories? chiara7 Post-Kicker, -Byline & -Footer 1 Sep 9, 2009 06:01 PM
Fixed width site. Different page background color from body color? blueprairie Forum How-To 1 Mar 20, 2009 08:55 PM


All times are GMT -6. The time now is 11:40 AM.


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