[SOLVED] Menu :hover issue

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Evil Phil
Forum Members
Forum Members
Posts: 23
Joined: Fri May 09, 2008 10:36 am

[SOLVED] Menu :hover issue

Post by Evil Phil »

http://www.homoeopathy-clinic.com/

The menu is working fine except for ie6 & 7. For some reason the background on the current page menuitem (that's class menuactive) changes on hover. I don't know why either. Could somebody help me with this? I'm at my wits end.
Last edited by Evil Phil on Thu Jan 08, 2009 2:58 pm, edited 1 time in total.
CMS Made Simple 1.4.1, PHP Version 5.2.5, MySql 5.0.45, Apache 2.2.26 on WAMP5 (Windows XP Pro)
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Menu :hover issue

Post by christiaans »

I don't really see any difference (except for the round corners) between IE7 & FF3 (don't have IE6 here)...
Evil Phil
Forum Members
Forum Members
Posts: 23
Joined: Fri May 09, 2008 10:36 am

Re: Menu :hover issue

Post by Evil Phil »

If you put the mouse over the currently selected tag in the menu the tag changes.
CMS Made Simple 1.4.1, PHP Version 5.2.5, MySql 5.0.45, Apache 2.2.26 on WAMP5 (Windows XP Pro)
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Menu :hover issue

Post by christiaans »

Now I see indeed. As far as I can tell (from the page source and css), there isn't anything telling IE to act differently on a hover, so maybe what you should try is just adding:

Code: Select all

li.menuactive a:hover {
}
At the bottom of your main stylesheet, so that there isn't any style applied. However, I usually define every state, even if I am not using it at that point, so that there won't be any misunderstandings..

Let me know if that doesn't work out..
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu :hover issue

Post by Dr.CSS »

Actually it seems you used a CSSMenu template or the menu template for that type of menu, aka Drop down/Flyout menu style, so your has a call for...




Take it out and you may have what you need, it adds an h on the end of some of the menu items to make the hover state work...

In this case it changes to li.menuactiveh...
Evil Phil
Forum Members
Forum Members
Posts: 23
Joined: Fri May 09, 2008 10:36 am

Re: [SOLVED] Menu :hover issue

Post by Evil Phil »

It was indeed the javascript, thanks.  :)
CMS Made Simple 1.4.1, PHP Version 5.2.5, MySql 5.0.45, Apache 2.2.26 on WAMP5 (Windows XP Pro)
Post Reply

Return to “Layout and Design (CSS & HTML)”