• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using Lightbox with Bootstrap navbar

Explorer ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

Hello.

I have put together a lightbox image gallery and now the drop down in the bootstrap navbar wont work.. Any ideas?

http://www.development.aytonwest.com/aytonwest2018/template.html

Thanks

Views

402

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Sep 20, 2018 Sep 20, 2018

The scripts at the foot of your page are pointing to your local drive (see below) Fix them and the menu should work:

<script src="file:///Macintosh HD/Users/ejapurches/Documents/Ayton West/aytonwest2018/js/popper.min.js"></script>

<script src="file:///Macintosh HD/Users/ejapurches/Documents/Ayton West/aytonwest2018/js/bootstrap-4.0.0.js"></script>

Votes

Translate

Translate
Community Expert ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

This is because the Lightbox has a z-index of 10000. This means that it covers the nav-bar.

The solution is to give the nav-bar a z-index of more than that after applying a property of position with a value of relative. See CSS z-index property

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

Hi. Nope.. Navbar still wont drop down and also the hamburger wont work on smaller screens..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

The scripts at the foot of your page are pointing to your local drive (see below) Fix them and the menu should work:

<script src="file:///Macintosh HD/Users/ejapurches/Documents/Ayton West/aytonwest2018/js/popper.min.js"></script>

<script src="file:///Macintosh HD/Users/ejapurches/Documents/Ayton West/aytonwest2018/js/bootstrap-4.0.0.js"></script>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

Thank you. Cant believe I didn't notice that. SO obvious... I need a day off.... 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

LATEST

aytonwest  wrote

Thank you. Cant believe I didn't notice that. SO obvious... I need a day off.... 🙂

Happens all the time. I've been doing this for more years than I care to remember and I still make numerous errors each day....too many things to check and think about, one comma or one / missing and everything could stop working.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines