Menu z-index
-
Im using the Custom Community theme and have a image slider that covers my drop-down menus. I have been trying to change the z-index using the following.
#access .span12 li a {
position: relative;
z-index: 5000;
}
#access .span12{
position: relative;
z-index: 5000;
}
#access .span12 li ul {
position: relative;
z-index: 5000;
}nothing seems to work. What I’m I missing?
Thanks in advance for the help
Chuck
-
What is the
z-indexvalue of that image slider ?Looks like you’re applying z-index to the wrong elements.
Provide a link please.This is the code from the header.php from the Custom Community theme
<div id=”access” class=”span12″>
<div class=”menu”><?php do_action(‘bp_menu’) ?>
<?php /* Our navigation menu. If one isn’t filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’,’container’ => ”) ); ?>
</div>
</div>the link to the site/page is
Try this:
#container { position: relative; z-index: 1; }Hopefully I can get here before Font Hero.
Edit: Success.
the Container did the trick
thanks
The topic ‘Menu z-index’ is closed to new replies.
