[not solved] hover&active img in 1st level when...
[not solved] hover&active img in 1st level when... was created by proli
Posted 12 years 2 months ago #1748
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:
When the mouse its hover the principal menu item it works good, and i put this CSS:
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
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:12 years 2 months ago
by proli
Last edit: 12 years 2 months ago by proli.
Please Log in or Create an account to join the conversation.
Replied by proli on topic Re: [not solved] hover&active img in 1st level when...
Posted 12 years 1 month ago #2105
i was trying to fix the image in menu on my test website
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?
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?
by proli
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Re: [not solved] hover&active img in 1st level when...
Posted 12 years 1 month ago #2116
hi
have you tried with
div#maximenuck ul.maximenuck li.level1:hover > a span.titreck
Ced
have you tried with
div#maximenuck ul.maximenuck li.level1:hover > a span.titreck
Ced
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Replied by proli on topic Re: [not solved] hover&active img in 1st level when...
Posted 12 years 1 month ago #2119
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!
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!
by proli
Please Log in or Create an account to join the conversation.
Replied by proli on topic Re: [not solved] hover&active img in 1st level when...
Posted 12 years 1 month ago #2120
yahoo
i have my css wrong..
with your help discover!
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!!
i have my css wrong..
with your help discover!
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!!
by proli
Please Log in or Create an account to join the conversation.
Time to create page: 0.638 seconds