• Resolved chuckhunsucker

    (@chuckhunsucker)


    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • What is the z-index value of that image slider ?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Looks like you’re applying z-index to the wrong elements.
    Provide a link please.

    Thread Starter chuckhunsucker

    (@chuckhunsucker)

    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

    https://defiantwind.com/wordpress/sea-projects/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try this:

    #container {
     position: relative;
     z-index: 1;
    }

    Hopefully I can get here before Font Hero.

    Edit: Success.

    Thread Starter chuckhunsucker

    (@chuckhunsucker)

    the Container did the trick

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Menu z-index’ is closed to new replies.