bootstrap dropdown underneath div Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag?Make a div fill the height of the remaining screen spaceHow to horizontally center a <div>?How to make div not larger than its contents?Creating a div element in jQueryHow to make a div 100% height of the browser window?How to style a <select> dropdown with only CSS?How do I auto-resize an image to fit a 'div' container?Click through div to underlying elementsHow to make Twitter Bootstrap menu dropdown on hover rather than clickCannot display HTML string

How much radiation do nuclear physics experiments expose researchers to nowadays?

When is phishing education going too far?

Examples of mediopassive verb constructions

How can players work together to take actions that are otherwise impossible?

What is the musical term for a note that continously plays through a melody?

Is it possible to boil a liquid by just mixing many immiscible liquids together?

Did Kevin spill real chili?

Is 1 ppb equal to 1 μg/kg?

Should I discuss the type of campaign with my players?

What does the "x" in "x86" represent?

What is the correct way to use the pinch test for dehydration?

Should I use Javascript Classes or Apex Classes in Lightning Web Components?

Single word antonym of "flightless"

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

Does surprise arrest existing movement?

Right-skewed distribution with mean equals to mode?

How to assign captions for two tables in LaTeX?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

Output the ŋarâþ crîþ alphabet song without using (m)any letters

How can I fade player when goes inside or outside of the area?

List *all* the tuples!

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

How to bypass password on Windows XP account?

How discoverable are IPv6 addresses and AAAA names by potential attackers?



bootstrap dropdown underneath div



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?Make a div fill the height of the remaining screen spaceHow to horizontally center a <div>?How to make div not larger than its contents?Creating a div element in jQueryHow to make a div 100% height of the browser window?How to style a <select> dropdown with only CSS?How do I auto-resize an image to fit a 'div' container?Click through div to underlying elementsHow to make Twitter Bootstrap menu dropdown on hover rather than clickCannot display HTML string



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















My Bootstrap Navigation Bar is supposed to be sticky, but it isn't. (I'm using .sticky-top)
I read a few posts about this problem, but i don't understand how and why this is happening. (I'm not very good at bootstrap / CSS).
This is my navbar code:



<header>
<img class="col-md-12 d-none d-md-block" src="assets/banner website.png" alt="banner" width="1900">
<img class="col-sm-12 d-mone d-block d-md-none img-fluid" src="assets/banner website tel.png" alt="banner4phones" widht="100%">
<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="#"><img src="assets/Het logo der logo's voor nav.png" alt="logo" width="40px;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div style="position: relative; z-index: 3000" class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item fade-in <?php echo ($page == 'home' ? 'active' : ''); ?>"><a href="<?php echo ($page == 'home' ? 'javascript:void(0)' : 'https://jinvantongeren.nl'); ?>" class=" nav-link">Hoofdpagina</a></li>
<li class="nav-item fade-in <?php if($page=='contact')echo 'active';?>"><a href="<?php echo ($page == 'contact' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/contact.php'); ?>" class="nav-link">Contact</a></li>
<li class="nav-item fade-in <?php if($page=='over')echo 'active';?>"><a href="<?php echo ($page == 'over' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/over'); ?>" class="nav-link">Over</a></li>
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbardrop" data-toggle="dropdown">Vakken</a>
<div style="position: absolute; z-index: 1000;" class="overflow-auto dropdown-menu">
<a class="dropdown-item <?php if($page=='Biology')echo 'active';?>" href="<?php echo ($page == 'Biology' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Biology'); ?>">Biology</a>
<a class="dropdown-item <?php if($page=='Assignment')echo 'active';?>" href="<?php echo ($page == 'Assignment' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/assignment'); ?>">English</a>
<a class="dropdown-item <?php if($page=='ICT en Design')echo 'active';?>" href="<?php echo ($page == 'ICT en Design' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Website opdracht/index.html'); ?>">ICT en Design</a>
</div>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<?php if(isset($_SESSION['User']))
if($statusImg == 1) ?>
<img src="assets/profile/profileimg <?php echo $userName ?>.<?php echo $fileactualext ?>" class="img-fluid rounded-circle navbar-brand" style="width: 40px; height: 40px;" alt="profielfoto" />
<?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='control')echo 'active';?>">
<?php if(in_array('Admin', $explodeGroep)) ?>
<a href="https://jinvantongeren.nl/control?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Beheer</a>
</li> <?php ?> <?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='exclusive')echo 'active';?>">
<a href="https://jinvantongeren.nl/exclusive?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Mijn content</a>
</li><?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Personal')echo 'active';?>">
<a href="https://jinvantongeren.nl/personal?uid=<?php echo $_SESSION['User']; ?>" class="nav-link">Mijn account</a>
</li>
<?php ?>
<li class="nav-item">
<?php if(isset($_SESSION['User'])) ?>
<form class="form-inline" method="post" action="includes/logout.inc.php">
<button class="btn-primary btn" type="submit" name="Logout">Uitloggen</button>
</form>
<?php ?>
</li>
<?php if(!isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Login')echo 'active';?>">
<a href="https://jinvantongeren.nl/login" class="nav-link">Inloggen</a>
</li>
<?php ?>
</ul>
</div>
</nav>
</header>


I've tried solving this, using the newest version of bootstrap (4.3.1), but that didn't work.



Does anyone knows a solution?
With kind regards,










share|improve this question






















  • Please simplify the question by providing a minimal HTML only example

    – Zim
    Mar 22 at 13:44











  • <nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

    – JVT038
    Mar 22 at 16:42











  • You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

    – isherwood
    Mar 22 at 19:01


















-1















My Bootstrap Navigation Bar is supposed to be sticky, but it isn't. (I'm using .sticky-top)
I read a few posts about this problem, but i don't understand how and why this is happening. (I'm not very good at bootstrap / CSS).
This is my navbar code:



<header>
<img class="col-md-12 d-none d-md-block" src="assets/banner website.png" alt="banner" width="1900">
<img class="col-sm-12 d-mone d-block d-md-none img-fluid" src="assets/banner website tel.png" alt="banner4phones" widht="100%">
<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="#"><img src="assets/Het logo der logo's voor nav.png" alt="logo" width="40px;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div style="position: relative; z-index: 3000" class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item fade-in <?php echo ($page == 'home' ? 'active' : ''); ?>"><a href="<?php echo ($page == 'home' ? 'javascript:void(0)' : 'https://jinvantongeren.nl'); ?>" class=" nav-link">Hoofdpagina</a></li>
<li class="nav-item fade-in <?php if($page=='contact')echo 'active';?>"><a href="<?php echo ($page == 'contact' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/contact.php'); ?>" class="nav-link">Contact</a></li>
<li class="nav-item fade-in <?php if($page=='over')echo 'active';?>"><a href="<?php echo ($page == 'over' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/over'); ?>" class="nav-link">Over</a></li>
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbardrop" data-toggle="dropdown">Vakken</a>
<div style="position: absolute; z-index: 1000;" class="overflow-auto dropdown-menu">
<a class="dropdown-item <?php if($page=='Biology')echo 'active';?>" href="<?php echo ($page == 'Biology' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Biology'); ?>">Biology</a>
<a class="dropdown-item <?php if($page=='Assignment')echo 'active';?>" href="<?php echo ($page == 'Assignment' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/assignment'); ?>">English</a>
<a class="dropdown-item <?php if($page=='ICT en Design')echo 'active';?>" href="<?php echo ($page == 'ICT en Design' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Website opdracht/index.html'); ?>">ICT en Design</a>
</div>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<?php if(isset($_SESSION['User']))
if($statusImg == 1) ?>
<img src="assets/profile/profileimg <?php echo $userName ?>.<?php echo $fileactualext ?>" class="img-fluid rounded-circle navbar-brand" style="width: 40px; height: 40px;" alt="profielfoto" />
<?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='control')echo 'active';?>">
<?php if(in_array('Admin', $explodeGroep)) ?>
<a href="https://jinvantongeren.nl/control?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Beheer</a>
</li> <?php ?> <?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='exclusive')echo 'active';?>">
<a href="https://jinvantongeren.nl/exclusive?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Mijn content</a>
</li><?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Personal')echo 'active';?>">
<a href="https://jinvantongeren.nl/personal?uid=<?php echo $_SESSION['User']; ?>" class="nav-link">Mijn account</a>
</li>
<?php ?>
<li class="nav-item">
<?php if(isset($_SESSION['User'])) ?>
<form class="form-inline" method="post" action="includes/logout.inc.php">
<button class="btn-primary btn" type="submit" name="Logout">Uitloggen</button>
</form>
<?php ?>
</li>
<?php if(!isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Login')echo 'active';?>">
<a href="https://jinvantongeren.nl/login" class="nav-link">Inloggen</a>
</li>
<?php ?>
</ul>
</div>
</nav>
</header>


I've tried solving this, using the newest version of bootstrap (4.3.1), but that didn't work.



Does anyone knows a solution?
With kind regards,










share|improve this question






















  • Please simplify the question by providing a minimal HTML only example

    – Zim
    Mar 22 at 13:44











  • <nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

    – JVT038
    Mar 22 at 16:42











  • You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

    – isherwood
    Mar 22 at 19:01














-1












-1








-1








My Bootstrap Navigation Bar is supposed to be sticky, but it isn't. (I'm using .sticky-top)
I read a few posts about this problem, but i don't understand how and why this is happening. (I'm not very good at bootstrap / CSS).
This is my navbar code:



<header>
<img class="col-md-12 d-none d-md-block" src="assets/banner website.png" alt="banner" width="1900">
<img class="col-sm-12 d-mone d-block d-md-none img-fluid" src="assets/banner website tel.png" alt="banner4phones" widht="100%">
<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="#"><img src="assets/Het logo der logo's voor nav.png" alt="logo" width="40px;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div style="position: relative; z-index: 3000" class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item fade-in <?php echo ($page == 'home' ? 'active' : ''); ?>"><a href="<?php echo ($page == 'home' ? 'javascript:void(0)' : 'https://jinvantongeren.nl'); ?>" class=" nav-link">Hoofdpagina</a></li>
<li class="nav-item fade-in <?php if($page=='contact')echo 'active';?>"><a href="<?php echo ($page == 'contact' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/contact.php'); ?>" class="nav-link">Contact</a></li>
<li class="nav-item fade-in <?php if($page=='over')echo 'active';?>"><a href="<?php echo ($page == 'over' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/over'); ?>" class="nav-link">Over</a></li>
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbardrop" data-toggle="dropdown">Vakken</a>
<div style="position: absolute; z-index: 1000;" class="overflow-auto dropdown-menu">
<a class="dropdown-item <?php if($page=='Biology')echo 'active';?>" href="<?php echo ($page == 'Biology' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Biology'); ?>">Biology</a>
<a class="dropdown-item <?php if($page=='Assignment')echo 'active';?>" href="<?php echo ($page == 'Assignment' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/assignment'); ?>">English</a>
<a class="dropdown-item <?php if($page=='ICT en Design')echo 'active';?>" href="<?php echo ($page == 'ICT en Design' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Website opdracht/index.html'); ?>">ICT en Design</a>
</div>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<?php if(isset($_SESSION['User']))
if($statusImg == 1) ?>
<img src="assets/profile/profileimg <?php echo $userName ?>.<?php echo $fileactualext ?>" class="img-fluid rounded-circle navbar-brand" style="width: 40px; height: 40px;" alt="profielfoto" />
<?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='control')echo 'active';?>">
<?php if(in_array('Admin', $explodeGroep)) ?>
<a href="https://jinvantongeren.nl/control?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Beheer</a>
</li> <?php ?> <?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='exclusive')echo 'active';?>">
<a href="https://jinvantongeren.nl/exclusive?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Mijn content</a>
</li><?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Personal')echo 'active';?>">
<a href="https://jinvantongeren.nl/personal?uid=<?php echo $_SESSION['User']; ?>" class="nav-link">Mijn account</a>
</li>
<?php ?>
<li class="nav-item">
<?php if(isset($_SESSION['User'])) ?>
<form class="form-inline" method="post" action="includes/logout.inc.php">
<button class="btn-primary btn" type="submit" name="Logout">Uitloggen</button>
</form>
<?php ?>
</li>
<?php if(!isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Login')echo 'active';?>">
<a href="https://jinvantongeren.nl/login" class="nav-link">Inloggen</a>
</li>
<?php ?>
</ul>
</div>
</nav>
</header>


I've tried solving this, using the newest version of bootstrap (4.3.1), but that didn't work.



Does anyone knows a solution?
With kind regards,










share|improve this question














My Bootstrap Navigation Bar is supposed to be sticky, but it isn't. (I'm using .sticky-top)
I read a few posts about this problem, but i don't understand how and why this is happening. (I'm not very good at bootstrap / CSS).
This is my navbar code:



<header>
<img class="col-md-12 d-none d-md-block" src="assets/banner website.png" alt="banner" width="1900">
<img class="col-sm-12 d-mone d-block d-md-none img-fluid" src="assets/banner website tel.png" alt="banner4phones" widht="100%">
<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="#"><img src="assets/Het logo der logo's voor nav.png" alt="logo" width="40px;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div style="position: relative; z-index: 3000" class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item fade-in <?php echo ($page == 'home' ? 'active' : ''); ?>"><a href="<?php echo ($page == 'home' ? 'javascript:void(0)' : 'https://jinvantongeren.nl'); ?>" class=" nav-link">Hoofdpagina</a></li>
<li class="nav-item fade-in <?php if($page=='contact')echo 'active';?>"><a href="<?php echo ($page == 'contact' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/contact.php'); ?>" class="nav-link">Contact</a></li>
<li class="nav-item fade-in <?php if($page=='over')echo 'active';?>"><a href="<?php echo ($page == 'over' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/over'); ?>" class="nav-link">Over</a></li>
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbardrop" data-toggle="dropdown">Vakken</a>
<div style="position: absolute; z-index: 1000;" class="overflow-auto dropdown-menu">
<a class="dropdown-item <?php if($page=='Biology')echo 'active';?>" href="<?php echo ($page == 'Biology' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Biology'); ?>">Biology</a>
<a class="dropdown-item <?php if($page=='Assignment')echo 'active';?>" href="<?php echo ($page == 'Assignment' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/assignment'); ?>">English</a>
<a class="dropdown-item <?php if($page=='ICT en Design')echo 'active';?>" href="<?php echo ($page == 'ICT en Design' ? 'javascript:void(0)' : 'https://jinvantongeren.nl/Website opdracht/index.html'); ?>">ICT en Design</a>
</div>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<?php if(isset($_SESSION['User']))
if($statusImg == 1) ?>
<img src="assets/profile/profileimg <?php echo $userName ?>.<?php echo $fileactualext ?>" class="img-fluid rounded-circle navbar-brand" style="width: 40px; height: 40px;" alt="profielfoto" />
<?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='control')echo 'active';?>">
<?php if(in_array('Admin', $explodeGroep)) ?>
<a href="https://jinvantongeren.nl/control?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Beheer</a>
</li> <?php ?> <?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='exclusive')echo 'active';?>">
<a href="https://jinvantongeren.nl/exclusive?groep=<?php echo htmlspecialchars(join(', ', $explodeGroep)); ?>&uid=<?php echo $userName ?>" class="nav-link">Mijn content</a>
</li><?php ?>
<?php if(isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Personal')echo 'active';?>">
<a href="https://jinvantongeren.nl/personal?uid=<?php echo $_SESSION['User']; ?>" class="nav-link">Mijn account</a>
</li>
<?php ?>
<li class="nav-item">
<?php if(isset($_SESSION['User'])) ?>
<form class="form-inline" method="post" action="includes/logout.inc.php">
<button class="btn-primary btn" type="submit" name="Logout">Uitloggen</button>
</form>
<?php ?>
</li>
<?php if(!isset($_SESSION['User'])) ?>
<li class="nav-item <?php if($page=='Login')echo 'active';?>">
<a href="https://jinvantongeren.nl/login" class="nav-link">Inloggen</a>
</li>
<?php ?>
</ul>
</div>
</nav>
</header>


I've tried solving this, using the newest version of bootstrap (4.3.1), but that didn't work.



Does anyone knows a solution?
With kind regards,







html css bootstrap-4 nav






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 8:22









JVT038JVT038

2718




2718












  • Please simplify the question by providing a minimal HTML only example

    – Zim
    Mar 22 at 13:44











  • <nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

    – JVT038
    Mar 22 at 16:42











  • You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

    – isherwood
    Mar 22 at 19:01


















  • Please simplify the question by providing a minimal HTML only example

    – Zim
    Mar 22 at 13:44











  • <nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

    – JVT038
    Mar 22 at 16:42











  • You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

    – isherwood
    Mar 22 at 19:01

















Please simplify the question by providing a minimal HTML only example

– Zim
Mar 22 at 13:44





Please simplify the question by providing a minimal HTML only example

– Zim
Mar 22 at 13:44













<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

– JVT038
Mar 22 at 16:42





<nav id="navbar" style="overflow: hidden;" class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">

– JVT038
Mar 22 at 16:42













You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

– isherwood
Mar 22 at 19:01






You need to revise your question to simplify. Don't put more clutter down here in comments. There should be no PHP in a Bootstrap question.

– isherwood
Mar 22 at 19:01













1 Answer
1






active

oldest

votes


















0














Have you tried adding it to the header <header class="fixed-top"> or just add position fixed to your element? You may be overwriting the css somewhere, but it's hard to tell. If you could provide a link or more info it may help. Hope this helps.






share|improve this answer























  • Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

    – JVT038
    Mar 22 at 19:11











  • There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

    – Zachary
    Mar 22 at 19:19











  • @JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

    – Zachary
    Mar 22 at 19:20











  • It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

    – JVT038
    Mar 22 at 19:36











  • @JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

    – Zachary
    Mar 22 at 19:47











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55295515%2fbootstrap-dropdown-underneath-div%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Have you tried adding it to the header <header class="fixed-top"> or just add position fixed to your element? You may be overwriting the css somewhere, but it's hard to tell. If you could provide a link or more info it may help. Hope this helps.






share|improve this answer























  • Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

    – JVT038
    Mar 22 at 19:11











  • There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

    – Zachary
    Mar 22 at 19:19











  • @JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

    – Zachary
    Mar 22 at 19:20











  • It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

    – JVT038
    Mar 22 at 19:36











  • @JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

    – Zachary
    Mar 22 at 19:47















0














Have you tried adding it to the header <header class="fixed-top"> or just add position fixed to your element? You may be overwriting the css somewhere, but it's hard to tell. If you could provide a link or more info it may help. Hope this helps.






share|improve this answer























  • Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

    – JVT038
    Mar 22 at 19:11











  • There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

    – Zachary
    Mar 22 at 19:19











  • @JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

    – Zachary
    Mar 22 at 19:20











  • It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

    – JVT038
    Mar 22 at 19:36











  • @JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

    – Zachary
    Mar 22 at 19:47













0












0








0







Have you tried adding it to the header <header class="fixed-top"> or just add position fixed to your element? You may be overwriting the css somewhere, but it's hard to tell. If you could provide a link or more info it may help. Hope this helps.






share|improve this answer













Have you tried adding it to the header <header class="fixed-top"> or just add position fixed to your element? You may be overwriting the css somewhere, but it's hard to tell. If you could provide a link or more info it may help. Hope this helps.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 22 at 18:58









ZacharyZachary

1388




1388












  • Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

    – JVT038
    Mar 22 at 19:11











  • There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

    – Zachary
    Mar 22 at 19:19











  • @JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

    – Zachary
    Mar 22 at 19:20











  • It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

    – JVT038
    Mar 22 at 19:36











  • @JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

    – Zachary
    Mar 22 at 19:47

















  • Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

    – JVT038
    Mar 22 at 19:11











  • There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

    – Zachary
    Mar 22 at 19:19











  • @JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

    – Zachary
    Mar 22 at 19:20











  • It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

    – JVT038
    Mar 22 at 19:36











  • @JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

    – Zachary
    Mar 22 at 19:47
















Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

– JVT038
Mar 22 at 19:11





Like is said: I don't know a lot of CSS / Bootstrap. I've tried adding fixed-top, but what happened was that the banner and the navigation was fixed to the top, like the class says. And if i add sticky-top, it makes the header sticky. But it just doesn't work with the <nav>. I didn't add any customized css to the navigation or the header.

– JVT038
Mar 22 at 19:11













There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

– Zachary
Mar 22 at 19:19





There are endless possibilities to this. It could be your header having a set height and affecting the sticky nav. Could be browser support to. Bootstrap does warn you of this. If you have a link or something we could see we might be able to figure it out.

– Zachary
Mar 22 at 19:19













@JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

– Zachary
Mar 22 at 19:20





@JVT038 here is a link to what could be happening. Let me know if it works. github.com/twbs/bootstrap/issues/21919

– Zachary
Mar 22 at 19:20













It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

– JVT038
Mar 22 at 19:36





It works, but also not. Because it is sticky indeed, but at a certain point, it isn't sticky anymore. And i see in my inspect elements console (google chrome) that webkit-sticky has a line through it. And a yellow warning sign next to it. And if i hover over it, i see: "invalid property value"

– JVT038
Mar 22 at 19:36













@JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

– Zachary
Mar 22 at 19:47





@JVT038 At what point is it not sticky, like on scroll, on screen size? So that webkit has a line through it because of 'position: sticky' is supported and webkit is no longer needed. That is what it means. So it looks like it is good. But now we need to figure out at what point it stops working.

– Zachary
Mar 22 at 19:47



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55295515%2fbootstrap-dropdown-underneath-div%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript