Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] sub menu items wrong background color (http://forum.bytesforall.com/showthread.php?t=21612)

jorgfoto Mar 5, 2014 08:23 AM

[SOLVED] sub menu items wrong background color
 
Hi,
Maybe I am missing something ( again!).
But if you go to http://50.87.195.136/
you will see that I have spread the menu bar across the length of the body and spaced the links.
but the sublinks have a white background...= any hints of how to address this?
The code so far:

#bfa_page_menu {background-color: #416d45; border: #416d45;
padding: 6px 20px 6px 20px;
}
div#menu1 {border: #416d45; background-color: #416d45;
}
#bfa_page_menu div#menu1 {border: #416d45;}

ul.rMenu li {
margin: 2px 40px 2px 40px;}

lmilesw Mar 5, 2014 09:10 AM

It looks like you need to add styling for .rMenu-ver or perhaps .sub-menu

jorgfoto Mar 5, 2014 10:36 AM

Sorry but i don't understand how to do this...can you give me a bit more to go on?
Thanks in advance!

lmilesw Mar 5, 2014 11:05 AM

This is where playing with Firebug and CSS comes in. I can't spend a ton of time on this but the following gave me some of what you might be looking for. You may still need to set up some CSS for current page styling of the menu.
HTML Code:

ul.rMenu-ver a {
    padding: 5px 10px !important;
}
ul.rMenu a:hover {
    background: black !important;
    color: white !important;
}
ul.rMenu ul {
    background: transparent !important;
    padding: 0 20px !importan;
    margin-left: -30px !important;
    border: none !important;
}


jorgfoto Mar 5, 2014 11:15 AM

It was:

ul.rMenu ul {
background: #416d45 !important;
}

Thank you so much - I will invest some time in Firebug or hire you in the future! Ypou just got me out of a jam....
You guys are the best.


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

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