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] Disable inheritance for menu colors


  #1  
Old Jan 12, 2012, 07:40 AM
sacoo
 
6 posts · Jan 2012
Good morning,

I am using atahualpa for a website with menus/submenus/subsubmenus. In the submenus for the previously selected menu, the background is setted for all the items (see the attachement). I saw some similar threads in the forum but they are not exactly what I need.

How could I disable only the background/font color changes for the whole menu while leaving the hover as it is?

Thanks a lot.
Attached Thumbnails
Click image for larger version

Name:	menus.png
Views:	834
Size:	4.9 KB
ID:	1719  
  #2  
Old Jan 12, 2012, 09:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm not quite sure what you mean could you explain it with an example like:
I have the following menus
a
aa
ab
abc
ac
b
ba
bb
c
and I want.....

Remenber that CSS stands for Cascading Style Sheets and it meand it you assign a style to 'a' (in my example) it will apply to 'aa', 'ab', 'abc' and 'ac' because they are all children of 'aa' and the style 'cascades to them. So to keep 'abc' from having that style, you would have to setup a seperate style for 'abc'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 12, 2012, 09:27 AM
sacoo
 
6 posts · Jan 2012
When I firs login on the site the style for all the menus and submenus is the same:
.- orange background - blue text -> all menus
.- blue background - white text -> menus on hover

After clickig on a menu (VoIP) on the picture i get:
.- orange background - blue text -> normal menus
.- blue background - white text -> hover on menus
.- blue background - white text -> all the menus and submenus below current page (VoIP)

What I would like to have is
.- orange background - blue text -> normal menus
.- blue background - white text -> hover on menus
.- blue background - white text -> current page (VoIP)
.- blue background - white text -> all the menus and submenus below VoIP
  #4  
Old Jan 12, 2012, 10:36 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Please go to ato->export/import settings, export your settings and attach them to a reply (paper clip icon)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 13, 2012, 12:24 AM
sacoo
 
6 posts · Jan 2012
Ok, here is the attached exported information.

Thanks a lot
Attached Files
File Type: txt ata-20120113.txt (14.4 KB, 945 views)
  #6  
Old Jan 13, 2012, 03:41 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this in your CSS inserts
HTML Code:
div#menu1 ul.rMenu li.current-menu-item  ul li a:link, 
div#menu1 ul.rMenu li.current-menu-item  ul li a:active, 
div#menu1 ul.rMenu li.current-menu-item  ul li a:hover, 
div#menu1 ul.rMenu li.current-menu-item  ul li a:visited, 
div#menu1 ul.rMenu li.current_page_item  ul li a:link, 
div#menu1 ul.rMenu li.current_page_item  ul li a:active, 
div#menu1 ul.rMenu li.current_page_item  ul li a:hover, 
div#menu1 ul.rMenu li.current_page_item  ul li a:visited, 
div#menu1 ul.rMenu li  ul li a:hover {
    background-color: #FF6200;
    color: #000;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 13, 2012, 04:23 AM
sacoo
 
6 posts · Jan 2012
It's still not there. There's the screenshot attached. The use case is still the same

After clickig on a menu (VoIP) on the picture i get (when browsing again on that menu) still the same:
.- orange background - blue text -> normal menus
.- blue background - white text -> hover on menus
.- blue background - white text -> all the menus and submenus below current menu (VoIP)
Attached Thumbnails
Click image for larger version

Name:	menusnew.png
Views:	677
Size:	8.0 KB
ID:	1721  
  #8  
Old Jan 13, 2012, 05:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Look at your CSS inserts, you have two closing brackets '}' just before the new CSS and that is causing the new css to be ignored.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Jan 13, 2012, 06:51 AM
sacoo
 
6 posts · Jan 2012
Thanks I haven't seen that, but the result is still the same, the site is http://wp.grn.cat
Whenever you choose one of the items, the hoover stops working for anyhing under that item.
Attached Files
File Type: txt ata-20120113.txt (15.0 KB, 792 views)
  #10  
Old Jan 13, 2012, 07:41 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try adding the following
HTML Code:
div#menu1 ul.rMenu li.current-menu-item  ul li a:hover, 
div#menu1 ul.rMenu li.current_page_item  ul li a:hover {
    background-color: #445555;
    color: #000;
}
and set the color to what you want
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Jan 16, 2012, 01:59 AM
sacoo
 
6 posts · Jan 2012
Thanks a lot, that will make the job. I really appreciate the effort you're putting on these theme

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem With Child Color Inheritance in Drop Down jasontbedell Page & Category Menu Bars 11 Feb 15, 2011 09:03 AM
[SOLVED] How to disable Category menu (menu2)? moaa Page & Category Menu Bars 2 Nov 4, 2010 01:25 AM
page menu bar colors wppg Header configuration & styling 4 Aug 13, 2010 09:28 AM
Dropdown Menu Colors - New Menu Builder scombridae1969 Page & Category Menu Bars 2 Aug 11, 2010 09:41 PM
disable single post pages & disable link in post titles jen Center area post/pages 0 Jan 11, 2010 02:09 PM


All times are GMT -6. The time now is 06:33 AM.


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