Changing size of bootstraps navbar - html

So I am using this navbar class : navbar navbar-inverse navbar-fixed-bottom Which I use to display a bar at the bottom of the page.
Is it possible to somehow make it smaller in height than 40px?
Saw a lot of posts about similar thing like this for exaple: Decreasing height of bootstrap 3.0 navbar
But none of them worked for my navbar after modifiyng the names.

Try this
nav{
min-height:30px !important;
height:30px;
}
And similarly decrease the size for other contents inside
jsfiddle http://jsfiddle.net/harshdand/0woqrLdL/
Updated one:
http://jsfiddle.net/harshdand/0woqrLdL/1/

Related

Don't change logo height in bootstrap navbar

I've a website: http://renaatdelporte.be/RESURGE_test/
I want the navbar logo to have he same size when you scroll.
I don't want the logo to have another size than the one you see when you arrive on the website.
Thanks!
try to add this in your navbar class :
data-spy="affix" data-offset-top="197"
you can read more about affix here: https://www.w3schools.com/bootstrap/bootstrap_affix.asp

Bootstrap Responsive Menubar Issue

I have been trying to develop a menubar for bootstrap in which the image logo be centerized instead to the usual left of the bar. But the problem is, the right links of the menu bar goes off screen. When I preview the page with a width greater than 2050 pixels, it looks fine.
But when I have something smaller than that, the right links didn't respond to the window change and slid off the page.
Is there any way to fix this? I have been playing around with the col-md-7 and the col-md-offset-3 class of the nav. But it didn't fix the problem, just moves/resizes it around the top.
Here is the link to the snipp of the page. http://bootsnipp.com/snippets/rvGQz
DIV with container class, that wraps your navigation, breaks the layout because of this class actually sets the width:
.container {
width: 1170px;
}
Remove container class from a DIV and that should do a magic for you.
Have you adjusted the media queries for each break point in the grid as you adjust your screen sizes?
http://getbootstrap.com/css/#grid-media-queries

Bootstrap Fixed NavBar with Spacing

I am using two Navbars in my app which collapse individually in smaller screens.
In Some Screens i will have two NavBars and in some only the top on.
By adding navbar-fixed-top to the navbar it sticks to the top but i want to stack them top of each other and the content of the page should be suitably spaced below so that it has visibility and does not hide below the navbars.
Link
To make the content of your page start below a fixed navbar you need to add a fixed height padding-top to the body (see http://getbootstrap.com/components/#callout-navbar-fixed-top-padding). As you have either one or two navbars you'll need two classes with different heights and add one of them to the body.
To make the second navbar appear below the first navbar you can add a class like .navbar-fixed-top--secondary to it that gets a top: 50px.

Align navbar on bottom of screen - Boostrap

I want to align the footer (Bootstrap navbar) on bottom of screen (Browser area), without using fixed navbar.
if the content height less than the screen height , show "navbar" on bottom, otherwise use scrollbars normally.
I tried with navabr-fixed-bottom, but it always shows the navabar, even if the content height is larger.
<!-- FOOTER -->
<div class="visible-desktop navbar navbar-fixed-bottom">
...
</div>
Can anyone help me please?
Thanks
Not sure if Bootstrap has this kind of build in functionality, here is simple trick which may be helpful, but it requires you do have fixed height of the navbar.
How to keep footers at the bottom of the page

Items in Navbar doesnot move with minimizing the browser

I am using twitter bootstrap navbar and list items are shown out of navbar when I minimise my browser to some small size and scroll to the end list item.
This is what looks as below.
Navbar when browser is maximised:
Navbar when browser is minimised:
I would like to have the items stick fixed to the navbar even though the browser is minimised.
Define min-width to your Navbar. For example write like this:
.Navbar{
min-width:1000px;
}
http://davidwalsh.name/demo/css-fixed-position.php
something like this? (the yellow box saying "Wherever you go, I will find you!")
if yes, then change position to fixed for NAVIGATION.
position:fixed;
(css)