Hover Text Color
2005/10/01 04:20
Viewed 3991 times
Replies: 2/5
by Kirk

Although I believe that I'm modifying the correct line of code, I wanted to see if anyone has been able to change the color of the horizontal items text on hover. I have modified the following line of code:

div.dynarch-horiz-menu table tr td.hover { background: url("img/aqua/hover-bg.png"); color: #000;

I am attempting to change color to fff, however doing so has no impact on the menu object. I have tested this on my page and in the supplied samples page. Any ideas?

Note: If I change the corresponding hover style for the vertical items, all works as expected. It is only the horizonal menu that has the issue.

Thanks,
-Kirk

Re: Hover Text Color
2005/10/01 06:01
Viewed 5732 times
Replies: 0/0
by Kirk

I should note that I can add style to change the cursor, however the color remains unchanged even when set to color:#fff;

last
Re: Hover Text Color
2005/10/01 16:21
Viewed 6079 times
Replies: 3/3

Strange—it should work indeed the way you've done it... Are you sure you're not including the wrong CSS file or that it's not being returned from the browser cache?

Sorry to ask this but it can happen and as I said, the line you wrote looks fine.

last
Re[2]: Hover Text Color
2005/10/01 17:18
Viewed 7703 times
Replies: 0/0
by Kirk

I agree that it should have the desired effect. I know the CSS is working properly to load those items as I'm able to modify...
...the background image
...the height
...the cursor
Here is the actual code I have in the skin-aqua.css file
div.dynarch-horiz-menu table tr td.hover { background: url("img/aqua/hover-bg.png"); cursor:hand; color: #fff; }

I also tried changing the skin-aqua.css file as it exists in the examples included in the install, just to make sure I hadn't misloaded something on my page. Unfortunately the same results are reached. No matter what skin css I modify, aqua, windows xp, windows 98, I am unable to change the text color on hover of the horizontal items. I have not tried them all but am assuming its the same on all skins.

Thanks,
-Kirk

last
Re[2]: Hover Text Color
2005/10/09 07:08
Viewed 7449 times
Replies: 0/0
by Kirk

One more note....I am using the menu with the "click" option, not electric.

last
Re[2]: Hover Text Color
2005/10/24 00:54
Viewed 7371 times
Replies: 0/0
by Kirk

Ok, finally got around to looking at this again in more detail. Turns out that the skin-aqua.css file is missing one line that some of the others has, once it was added, I was able to change the hover color of my menu.

div.dynarch-horiz-menu table tr td.hover table { color: #fff; }

  • Kirk
last
Google