Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

problem with z-inde

Featured Replies

Hi Guys,


I have one problem with z-index,


I'm having trouble menu with one submenu

Below of submenu i have one slide

and when I move the mouse up in the submenu, the submenu is below of the slide,

and is impossible the use.


i'm use z-index:1; on the slide and z-index:2; on the submenu, improved but dont work well because doesnt work of first, and i need wait the first slide for start work.


Every time when change photo slide is done occurs overlap de menu by slide and hide the menu!


i have the example


the menu who have the problem is "TRATAMENTOS", this in portuguese


THANK YOU SO MUCH

i dont know if you will understand my inglish, because is not very good

It seems OK here, the drop down opens above the slider fine. Unless I'm not understanding the issue correctly.

its starting with z-index 10 I haven't looked at the script I'd guess that should be for some slideshow navigation

Yes see it now.

 

Change the z-index from 2 to 20 in nav ul li ul in styles.css line 80

 

 

nav ul li ul {

    background: none repeat scroll 0 0 #000000;
    border-bottom: medium none;
    border-left: 1px solid #FFFFFF;
    border-radius: 0 0 5px 5px;
    border-right: 1px solid #FFFFFF;
    display: none;
    margin-top: 1px;
    max-width: 150px;
    position: absolute;
    z-index: 20;
}
 

 

Edited by nfc212

  • Author

 

Yes see it now.

 

Change the z-index from 2 to 20 in nav ul li ul in styles.css line 80

 

 

nav ul li ul {

    background: none repeat scroll 0 0 #000000;
    border-bottom: medium none;
    border-left: 1px solid #FFFFFF;
    border-radius: 0 0 5px 5px;
    border-right: 1px solid #FFFFFF;
    display: none;
    margin-top: 1px;
    max-width: 150px;
    position: absolute;
    z-index: 20;
}
 

 

now its work, i have made this Z-INDEX:20; and worked!!

 

Thank you so much!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.