Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: z-index in dropdown is error when use 2 scrolling-navbar

Imitator pro asked 7 years ago


This is my code. Dropdown in first navbar is error. Please help me. https://codepen.io/Mon_Imitator/pen/POKrzW  

Jakub Strebeyko staff answered 7 years ago


Hi there Imitator,

The error is caused by the scrolling-navbar class, which overwrites the z-index CSS property. The solution would be to overwrite it back, for example by adding a z-index: 1000 style attribute to the upper <nav> element, like so.

With Best Regards,
Kuba


Imitator pro commented 7 years ago

solved. thank you very much

iamajaysingh pro commented 7 years ago

@jakub strebeyko thanx. i also face the same problem in a project. but your suggestion solve my problem

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags