[not solved] hover&active img in 1st level when...

More
14 years 8 months ago - 14 years 8 months ago #1748 by proli
Hi all.
I'm making a new template changing the normal CSS but beggining from a clean with no styles menu..

In the first level menu (with the principal links) i have this code that gives me an image in the principal links:
Code:
div#maximenuck ul.maximenuck li.level1 {background: url(/../images/menubckg2.gif) no-repeat top right !important; line-height:31px;}

When the mouse its hover the principal menu item it works good, and i put this CSS:
Code:
div#maximenuck ul.maximenuck li.level1>a:hover span.titreck, div#maximenuck ul.maximenuck li.level1>span:hover span.titreck {line-height:31px;background:url(../images/menubckg3.gif) repeat-x top right;}

The problem is when we go down to 2nd level (sub-menu) .. we want to see the others sub items but we could see that the hover image (menubckg3.gif) in the principal menu goes away to their default image (menubckg2.gif)..
How can i fix that image in hover position but active in the sub menus items?

Thanks
Last edit: 14 years 8 months ago by proli.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #2105 by proli
i was trying to fix the image in menu on my test website
Code:
div#maximenuck ul.maximenuck li.level1 > a:hover span.titreck, div#maximenuck ul.maximenuck li.level1 > span:hover span.titreck {line-height: 36px;background: url(/../images/menubckg3.gif) repeat-x top right;}

when we go down to sub menu...
but i cant find the code...
to apply when the mouse is hover the .floatck area

and the image in the top menu is {visibility:visible}

what css could be applyed to solve this please?

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #2116 by ced1870
hi
have you tried with
div#maximenuck ul.maximenuck li.level1:hover > a span.titreck
Ced

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #2119 by proli
is almost! :)
I dont know what is going on here but it only work in the 2nd main menu item.
and I have a total of 11 items in the main menu.

i added this code like you said:
div#maximenuck ul.maximenuck li.level1:hover > a span.titreck {background:url(../images/menubckg3.gif) repeat-x top right;line-height:36px;}

Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #2120 by proli
yahoo :P
i have my css wrong..
with your help discover! :D
div#maximenuck ul.maximenuck li.level1:hover > a span.titreck,
div#maximenuck ul.maximenuck li.level1:hover > span.separator span.titreck {background:url(../images/menubckg3.gif) repeat-x top right;line-height:36px;}

Many thanks!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 3243 guests and no members online