Documentation says to use:
<nav class="navbar navbar-expand-lg navbar-light bg-light">
But in my views I've been using
<div class = "navbar navbar-default navbar-static-top">
The code is a little different, I have to try it out, but the question is the same Is applying the class to the div the same as not using the div for bootstrap purposes