Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7180451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:21:02+00:00 2026-05-28T17:21:02+00:00

I am using jquery superfish menu and I am using colorbox for images just

  • 0

I am using jquery superfish menu and I am using colorbox for images just o give themlightbox effect.

But the problem is when I open colorbox the menu is showing on top of the colorbox.How do I change its z-index or any other property to get rid of this?

Here is what I mean to say.
enter image description here

This is my menu css:

    /*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
    margin:         0px 0 0 -20px;
    padding:        0;
    list-style:     none;
    position:relative;
    z-index:0px;
}
.sf-menu ul {
    position:       relative;
    top:            -999em;
    width:          10em; /* left offset of submenus need to match (see below) */
    box-shadow:0px 1px 6px #333;
}
.sf-menu ul li {
    width:          169px;
}
.sf-menu li:hover {
    visibility:     inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
    float:          left;
    position:       relative;
}
.sf-menu a {
    display:        block;
    position:       relative;
}
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
    left:           0;
    top:            40px; /* match top ul list item height */
    z-index:        99;
    width:169px;
}
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
    left:           14em; /* match ul width */
    top:            -1px;
}
ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
    left:           10em; /* match ul width */
    top:            0;
}
/*** DEMO SKIN ***/
.sf-menu {
    float:          left;
    background: url('../images/nav_bg.png') repeat center top;
    width:991px;
    font-size:13px;
}
.sf-menu a {
    padding:10px 30px;
    margin:0 0 0 5px;
    text-decoration:none !important;
    color: #f8f8f8;
}

.sf-menu a:hover {
    padding:10px 30px;
    margin:0 0 0 5px;
    text-decoration:none !important;
    color: #F55D2D;
}


.sf-menu li {
    background:     transparent;
    z-index:9999;
    background: url('') no-repeat top right;
}
.sf-menu li li {
    font-size:12px;
    background: #F9F9F9;
    border-bottom:1px dashed #ddd;
    border-left:1px dashed #000;
}
.sf-menu li li:hover {
    border-left:1px solid #F9F9F9;
}
.sf-menu li li:last-child {
    border-bottom:none;
}
.sf-menu li li a {
    color:#333;
}
.sf-menu li li a:hover {
    color:#f8f8f8;
}
.sf-menu li li li {
    background:#4F5356;
    border-bottom:1px dashed #333;
}
.sf-menu li li li a {
    color:#f8f8f8;
}
.sf-menu li li.sfHover {
    outline:        0;
    border-left:1px solid #F9F9F9;
}
.sf-menu li li.sfHover a {
    color:#fff;
}
.sf-menu a:focus, .sf-menu a:active {
    outline:0;
    background-color:none;
}
/*** arrows **/
.sf-menu a.sf-with-ul {
    padding-right:  2.25em;
    min-width:      1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position:       absolute;
    display:        block;
    right:          1em;
    top:            1em; /* IE6 only */
    width:          10px;
    height:         10px;
    text-indent:    -999em;
    overflow:       hidden; /* 8-bit indexed alpha png. IE6 gets solid image only */
    background-image: url('../images/arrows-ffffff.png');
    background-repeat: no-repeat;
    background-position: -10px -100px;
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    top:            1.1em;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator, a:hover > .sf-sub-indicator, a:active > .sf-sub-indicator, li:hover > a > .sf-sub-indicator, li.sfHover > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}
/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator {
    background-position:  -10px 0;
}
.sf-menu ul a > .sf-sub-indicator {
    background-position:  0 0;
}
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator, .sf-menu ul a:hover > .sf-sub-indicator, .sf-menu ul a:active > .sf-sub-indicator, .sf-menu ul li:hover > a > .sf-sub-indicator, .sf-menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:21:03+00:00Added an answer on May 28, 2026 at 5:21 pm
       .sf-menu li z-index:9999;
    

    is the problem, iirc the default colorbox.css uses the same z-index …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's the difference between using this jQuery(function(){ jQuery('ul.sf-menu').superfish(); }); and just using this? jQuery('ul.sf-menu').superfish();
I'm using jquery, superfish to create a dynamic menu. But, I'm having trouble adding
Im using jQuery with superfish vertical menu. My menu is positioned at the bottom
I'm using the Superfish jQuery menu system and have a requirement to show all
I am using jQuery Superfish menu on ie6 and from what I can see
I am having a problem using Superfish dropdowns inside a jQuery grid. It looks
I am useing the superfish jquery plugin If you view the superfish menu here:
was wondering if there is a way to make superfish using jquery ui theme
I am using the superfish plugin for jquery here: clicky it works fine in
Using jquery 1.7.1, I'm using json to populate the dropdown. The code works just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.