-
AuthorPosts
-
Bob Meetin Friend
Bob Meetin
- Join date:
- September 2014
- Posts:
- 130
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
December 26, 2011 at 9:27 pm #172176I am trying to add a secondary dropdown menu in the search position but am running into z-index problems. The menu module is called Art Grand Menu. It adds in position fine. However when I add dropdown items they get obscured by the main navigation. I added various very high z-index values to the menu styling but they do not help.
In the main site CSS file I found #ja-mainnav with a z-index of 22. I tried messing with this.
I checked further and changing it to anything at 9 or below fixes the top menu.
The side-effect is that this breaks the main menu. If I drop z-index of ja-mainnav to 10 or below the mainmenu drop-down items get obscured by the slideshow and on pages where there is no slideshow, component containers. There seem to be a cascading series of z-index values that make the main navigation, slideshow and containers work together as a package.
ja_droid styling is vanilla. I left high z-index values attached to the secondary menu’s stylesheet, dropdown.css, but they have absolutely no impact. Here is what I added, but is currently commented out:
stylesheet: modules/mod_artgrandmenu/mod_artgrandmenu/css/dropdown/dropdown.css
/* Added by Bob just to see */
/*
.artgrandmenucontainer ul.dropdown li.hover,
.artgrandmenucontainer ul.dropdown li:hover {
z-index: 987654321;
}#ja-search .artgrandmenucontainer ul.dropdown li.hover,
ul.dropdown li:hover {
z-index: 987654321;
}#ja-search .artgrandmenucontainer ul.dropdown a.hover,
ul.dropdown li:hover,
#ja-search a.hover,
#ja-search .artgrandmenucontainer a.hover,
a:hover
{
z-index: 987654321;
}#ja-search {
z-index: 987654321;
}
*/Suggestions how to make it work?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 27, 2011 at 1:23 am #431280Hi
Would you mind take a screenshot for better detail ?Thank you
Bob Meetin FriendBob Meetin
- Join date:
- September 2014
- Posts:
- 130
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
December 27, 2011 at 3:15 am #431297There are several submenu items under Extensions in the small menu in the header. They disappear behind the main menu and slideshow, etc.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 27, 2011 at 3:20 am #431298Hi
Please update this
#ja-header {
position: relative;
z-index: 10; Update this to 11 or higher
}http://www.dottedi.us/18/plugins/system/jat3/base-themes/default/css/template.css
Line 665Thank you
Bob Meetin FriendBob Meetin
- Join date:
- September 2014
- Posts:
- 130
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
December 27, 2011 at 3:31 am #43129911 didn’t do it, but z-index:23 did! Thank you.
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by Bob Meetin 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
z-index conflict with secondary menu
Viewing 5 posts - 1 through 5 (of 5 total)