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 »

[SOLVED] Problem With Child Color Inheritance in Drop Down


  #1  
Old Feb 14, 2011, 01:23 PM
jasontbedell
 
75 posts · Dec 2010
Hello,

I am using WordPress 3.0.4 and Atahualpa 3.5.3 on litteacher.com.

When I click a parent (ie About), all of the children inherit the hover color. Is it possible to have them retain their normal background color when they are not specifically clicked on?
Thank you for any help.
Jason Bedell.
  #2  
Old Feb 14, 2011, 02:56 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you apply the bugfix's (see 'Old Version fixes and change logs' forum, which is a subforum of the 'New Versions, & Updating' forum
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 15, 2011, 05:35 AM
jasontbedell
 
75 posts · Dec 2010
Yes. I did it again just to be sure and still am having the same issue. Thank you for the suggestion.
  #4  
Old Feb 15, 2011, 06:16 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Looks like you got it fixed
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 15, 2011, 06:18 AM
jasontbedell
 
75 posts · Dec 2010
What browser are you using? I just tried in Firefox and Chrome. When I click on Professional Development, for example, all the child pages are still highlighted.
  #6  
Old Feb 15, 2011, 06:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Oh sorry, I had not clicked the parent.

This is the way CSS works. When you apply a style to a element, all its children inherit the styling. If you want the children behave different then you have to supply a CSS selector and rule for the child that will override the parents styling.

Remember, when you style the submenu, it will effect any submenu's it has, so will also have to reset the styling for the sub-submenu.

(this is why the menu css is so complicated with over 400 lines of code.)

A good tool to use is FireBug in FireFox to help identify the CSS Selectors that need to be overriden.
__________________
"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 15, 2011, 06:50 AM
jasontbedell
 
75 posts · Dec 2010
I can use firebug to identify them. If I override the background color of the child items, will they still retain the hover color from the theme options?
  #8  
Old Feb 15, 2011, 07:06 AM
jasontbedell
 
75 posts · Dec 2010
I just noticed that my navigation menu just went completely screwy. All I've done so far this am is to remove
td#header {
padding-bottom: 5px;
}

which shouldn't have any impact. Do you know what might have caused this?
  #9  
Old Feb 15, 2011, 07:11 AM
jasontbedell
 
75 posts · Dec 2010
I tried reverting the bugfix to the old files, but the menu problem is persisting. The menu items and the formatting are both completely wrong without a cause that I can identify.
  #10  
Old Feb 15, 2011, 07:14 AM
jasontbedell
 
75 posts · Dec 2010
OK. Panic over. Menu 1 disappeared from the WordPress Menu. Just had to re-add it. Not sure why that happened. Hadn't even clicked on that today, let alone changed it.
  #11  
Old Feb 15, 2011, 07:40 AM
jasontbedell
 
75 posts · Dec 2010
I tried to add this to 1 of the child menu items (Overview Booklet under Professional Development), but it didn't make a difference. Do you see anything wrong with the code?
Code:
li#menu-item-442 {background-color:  #2a232b !important;;}
li#menu-item-442 a:hover {background-color:50442e !important;;}
  #12  
Old Feb 15, 2011, 09:03 AM
jasontbedell
 
75 posts · Dec 2010
You solved it in post #7 of this thread.
http://forum.bytesforall.com/showthread.php?t=2745

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Drop Down Menu Problem nepenthial Atahualpa 3 Wordpress theme 2 Jan 11, 2011 08:25 PM
Details about centering the menu on menu bar (child drop-down menus become unalligned jstein Page & Category Menu Bars 2 Oct 24, 2010 09:56 AM
Main drop down menu children backgrounds not the same color, help! neondevil Page & Category Menu Bars 6 Oct 1, 2010 12:23 PM
[SOLVED] Background Color for CHILD Pages only KatyDigg Page & Category Menu Bars 1 Sep 9, 2009 05:51 AM
Page Menu Drop Down Only Showing First 6 Child Pages LabbyRoad Page & Category Menu Bars 4 Mar 11, 2009 11:40 AM


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


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