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] Page Menu Background - getting rid of color blocks? (http://forum.bytesforall.com/showthread.php?t=13140)

mcphoto Mar 4, 2011 10:19 AM

[SOLVED] Page Menu Background - getting rid of color blocks?
 
After lots of forum searches & trial & error, I've got my page menu almost-there:

http://mikeethanmessick.net/

However, I can't get rid of the colored block for "visited" and "hover" - any ideas?

Here's the CSS inserts I have going so far - some of this seems redundant, but a lot of my CSS didn't work when it seemed like it should, this is where I finally got to this point:

Code:

/* Page menu background */

div#menu1 {
background: url('/content/nav-bg.jpg') !important;
padding:4px 30px 5px 30px;
letter-spacing:2px;
font-weight: bold !important;
}

div#menu1 ul.rMenu {
background: url('/content/nav-bg2.jpg') !important;
font-weight: bold !important;
        border: none 0px;
}

/* Page menu spacing */
ul.rMenu-hor li {
margin-right: 10px;
background: none !important;
font-weight: bold !important;
}

div#menu1 ul.rMenu li a:link {text-decoration: none; font-weight: bold;},
div#menu1 ul.rMenu li a:hover {text-decoration: underline; font-weight: bold;},
div#menu1 ul.rMenu li a:visited {text-decoration: none; font-weight: bold;},
div#menu1 ul.rMenu li a:active {text-decoration: none; font-weight: bold;}

/* no dotted lines menus
========================= */

.menu-pages-container {
border: none !important;
}

/* END menus
========================= */


epsymp Mar 4, 2011 01:05 PM

yeah. try "background-color:transparent;" in "a:hover" and "a:visited"

mcphoto Mar 4, 2011 02:08 PM

Ahh, that did it - took an "!important" to make it work.

Funny, I'd been trying "background-color:none", wonder where I got that??


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

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