Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Problem CSS with long menu (http://forum.bytesforall.com/showthread.php?t=20825)

SckyzO Aug 25, 2013 06:42 PM

Problem CSS with long menu
1 Attachment(s)
Hi all, i have a problem with long menu.
See screenshot

Attachment 2399

If you have a solution ... I can not do.


CrouchingBruin Aug 26, 2013 12:52 AM

Interesting. Image thumbs have a z-index of 1000, main menu items have a z-index of 100000, while submenus (menu1-smooth) have a z-index of only 10, which is why they are showing up behind the thumb. And the submenu z-index is an inline style.

Try adding this at the end of your various.css virtual CSS file:

#menu1-smooth div {
        z-index: 100000 !important;

CrouchingBruin Nov 23, 2013 10:28 PM

OK, I had to make a change. I found out that while sub-menus have a z-index of 10, sub-sub-menus (third level menus) have a z-index of 11, and setting the above CSS sets both second and third level menus to the same z-index, which caused my third level menus to get partially hidden behind the second level menus. So, instead, I changed the z-index of the image thumbs to 9 to insure that they would get hidden behind the second and third level menus:

.hentry .img_wrapper img {
  z-index: 9 !important;

I had to use the !important clause to override the inline style.

All times are GMT -6. The time now is 06:54 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.