All navbar elements are on the same line when viewed on desktop, but become stacked when viewed on mobile. Any tips?
If you want a collapsed menu on mobile device your html should look like this
code bellow:
Is it possible to just have the navbar look the exact same on mobile as in desktop?
All on the same line, all text showing, not collapsed, etc
I think itâs depends of the size of the screen, but i donât think that is a good idea if u want a collapsed one that is the most common solution you can use it
If u just want a simple header with menu, i thought that u can use only the grid system of bootstrap u donât need to use the navigation classes.
do you understand?
I tried putting all the navbar elements within a âdiv class rowâ and putting them all in columns, but that didnât leave them all on the same line.
and tbh Iâd rather not just copy a block of code and paste it into my own when I have no clue whatâs going on
Why did you put multiple container-fluid classes?
Also, why did you put two div class container-fluid ?
hmmâŚunderstand i just used a another div with container class to set the code inside the navigation in one block but u donât need to do that, if you look at the Twitter bootstrap documentation youâll see the behavior of navigation classes, https://getbootstrap.com/components/#navbar, it is the reason of why your menu is collapsing when you see it on mobile devices, i hope that it helps you.
To do what you want u just need to do a simple header, if you want i can show you.
Sure, Iâm just not understanding why nesting the navbar within a âdiv class rowâ wouldnât put it all on the same line? I thought Bootstrap was supposed to be responsive?
Bootstrap is reponsive but to use row u need to use columns too i did an example that maybe can help you.