How do I make the last two columns w/o any space in this JSFiddle :
For some reason, it’s showing one below another but on my website these tw oare showin horizontally in one line and there’s lot os space between two. I want to remove space between QuickLinks and Logout button
@Jack_Tauson_Sr. Did you resize the JSFiddle? Because when I did (above 990px) they are shown up in a row next to eachother. That is how Bootstrap reacts.
Thanks. I saw the similar behavior when I saw the fiddle in full screen which is exactly similar to what I am seeing on my website. Do you know why there’s so much space between the two? Unfortunately, it will be difficult to show the whole website here.
That’s not the way to position elements with CSS, that’s what margins would help with.
In the old days you would have just floated the two links to the right. Now flexbox can do that easily too.
Use the navbar as @donboe suggested if you are going to use Bootstrap. You need to realize that when you use a framework like that you are responsible for learning how that framework works.
If you weren’t relying on bootstrap it would be as simple as this…
One last thing @Jack_Tauson_Sr. I have to aggree with @Ray.H. If your not really familiar with Bootstrap it can be a pain Maybe a good idea to show your current website so we get an idea what is needed.
I see. Actually, I am little bit familiar with the Bootstrap but not much. The changes that were done above was done by someone who isn’t a developer. Otherwise, I would have done this in a better way if not the bootstrap side.
So, I used your code and since I wanted to display the two list items on the right hand side, I added navbar-right and list-unstyled to remove bullet. So, your code with these two modifications is this now:
Hi @Jack_Tauson_Sr. Sorry for the late responce. I was away for a short holiday. In the example I gave yout there was no extra div inside the navbar:
<div class="tab"> </div>
Take that out and you should be ok
Edit: Im also not sure 'why you are using a class navbar-right on the navbar-nav? ml-auto is doing that allready assuming you are using Bootstrap 4. Just copy and past the example I gave you and you will see everything is just fine!