- Posts: 7
- Thank you received: 0
Second instance of mainmenu doesn't have background under menuitems
- Sergij Chyzh
- Topic Author
- Offline
- Fresh Boarder
Less
More
11 years 8 months ago #2018
by Sergij Chyzh
Hi!
I'm trying to create second instance of menu (mainmenu) and place it in "mainmenu" position. For some reason items of new menu doesn't have nice green background (i'm using green theme)
Do you have any idea why? Please refer here test2.mothersjoy.com.ua/ for details
I'm trying to create second instance of menu (mainmenu) and place it in "mainmenu" position. For some reason items of new menu doesn't have nice green background (i'm using green theme)
Do you have any idea why? Please refer here test2.mothersjoy.com.ua/ for details
Please Log in or Create an account to join the conversation.
- Linh Robert
- Offline
- Banned
Less
More
- Posts: 908
- Thank you received: 568
11 years 8 months ago #2019
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
Replied by Linh Robert on topic Re: Second instance of mainmenu doesn't have background under menuitems
Hi,
That hover green background applied for the main dropdown only.
So if you create another instance and put in that position, the second does not applied that.
You can add additional css for it as follow.
Edit green.css and find this code:
change it to:
And find this code:
change it to:
Thanks
That hover green background applied for the main dropdown only.
So if you create another instance and put in that position, the second does not applied that.
You can add additional css for it as follow.
Edit green.css and find this code:
Code:
#ot-mainmenu ul.menu li.active, #ot-mainmenu ul.menu li.sfhover {
background: url("../../images/green/mainmenu-item-right-bg.png") no-repeat scroll right 0 transparent;
}
Code:
#ot-mainmenu ul.menu li.active, #ot-mainmenu ul.menu li.sfhover, #ot-mainmenu ul.menu li:hover {
background: url("../../images/green/mainmenu-item-right-bg.png") no-repeat scroll right 0 transparent;
}
And find this code:
Code:
#ot-mainmenu ul.menu li.active a, #ot-mainmenu ul.menu li.sfhover a {
background: url("../../images/green/mainmenu-item-left-bg.png") no-repeat scroll 0 0 transparent;
}
Code:
#ot-mainmenu ul.menu li.active a, #ot-mainmenu ul.menu li.sfhover a, #ot-mainmenu ul.menu li:hover a {
background: url("../../images/green/mainmenu-item-left-bg.png") no-repeat scroll 0 0 transparent;
}
Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
The following user(s) said Thank You: Sergij Chyzh
Please Log in or Create an account to join the conversation.
- Sergij Chyzh
- Topic Author
- Offline
- Fresh Boarder
Less
More
- Posts: 7
- Thank you received: 0
11 years 8 months ago #2023
by Sergij Chyzh
Replied by Sergij Chyzh on topic Re: Second instance of mainmenu doesn't have background under menuitems
Thanks a lot !
Please Log in or Create an account to join the conversation.
Time to create page: 0.241 seconds