Bootstrap Studio 4.4.4
Navigation Bars
- Name: Bootstrap Studio Version: 4.4.4 OS: Windows Type: Bootstrap Website Creator Price: $60 Homepage: SalePage Bootstrap Studio is a powerful desktop app for designing and prototyping websites. Bootstrap Studio is an app for creating beautiful websites.
- Bootstrap Studio 4.4.4 Cracked. A powerful desktop app for creating responsive websites using the Bootstrap framework. Bootstrap Studio is a powerful desktop app for designing and prototyping websites. Bootstrap Studio is a desktop application that helps you create beautiful websites.
Stalker clear sky artifact. A navigation bar is a navigation header that is placed at the top of the page:
The revolutionary web design tool for the Bootstrap Framework.Subscribe to learn when we upload new tips and tutorials about our app.
Basic Navbar
With Bootstrap, a navigation bar can extend or collapse, depending on the screen size.
A standard navigation bar is created with the .navbar
class, followed by a responsive collapsing class: .navbar-expand-xl lg md sm
(stacks the navbar vertically on extra large, large, medium or small screens).
To add links inside the navbar, use a <ul>
element with class='navbar-nav'
. Then add <li>
elements with a .nav-item
class followed by an <a>
element with a .nav-link
class:
Example
<nav>
<!-- Links -->
<ul>
<li>
<a href='#'>Link 1</a>
</li>
<li>
<a href='#'>Link 2</a>
</li>
<li>
<a href='#'>Link 3</a>
</li>
</ul>
</nav>
Vertical Navbar
Remove the .navbar-expand-xl lg md sm
class to create a vertical navigation bar:
Example
<nav>
<!-- Links -->
<ul>
<li>
<a href='#'>Link 1</a>
</li>
<li>
<a href='#'>Link 2</a>
</li>
<li>
<a href='#'>Link 3</a>
</li>
</ul>
</nav>
Centered Navbar
Add the .justify-content-center
class to center the navigation bar.
The following example will center the navigation bar on medium, large and extra large screens. On small screens it will be displayed vertically and left-aligned (because of the .navbar-expand-sm class):
Example
..
</nav>
Bootstrap
Try it Yourself »Colored Navbar
Use any of the .bg-color
classes to change the background color of the navbar (.bg-primary
, .bg-success
, .bg-info
, .bg-warning
, .bg-danger
, .bg-secondary
, .bg-dark
and .bg-light
)
Tip: Add a white text color to all links in the navbar with the .navbar-dark
class, or use the .navbar-light
class to add a black text color.
Example
<nav>
<ul>
<li>
<a href='#'>Active</a>
</li>
<li>
<a href='#'>Link</a>
</li>
<li>
<a href='#'>Link</a>
</li>
<li>
<a href='#'>Disabled</a>
</li>
</ul>
</nav>
<!-- Black with white text -->
<nav>..</nav>
<!-- Blue with white text -->
<nav>..</nav>
Active/disabled state: Add the .active
class to an <a>
element to highlight the current link, or the .disabled
class to indicate that the link is un-clickable.
Brand / Logo
The .navbar-brand
class is used to highlight the brand/logo/project name of your page:
Example
<a href='#'>Logo</a>
..
</nav>
When using the .navbar-brand
class on images, Bootstrap 4 will automatically style the image to fit the navbar vertically.
Example
<a href='#'>
<img src='bird.jpg' alt='Logo'>
</a>
..
</nav>
Collapsing The Navigation Bar
Very often, especially on small screens, you want to hide the navigation links and replace them with a button that should reveal them when clicked on.
To create a collapsible navigation bar, use a button with class='navbar-toggler', and
. Then wrap the navbar content (links, etc) inside a div element with class='collapse navbar-collapse'
, followed by an id that matches the data-target
of the button: 'thetarget'.
Example
<!-- Brand -->
<a href='#'>Navbar</a>
<!-- Toggler/collapsibe Button -->
<button type='button'>
<span></span>
</button>
<!-- Navbar links -->
<div>
<ul>
<li>
<a href='#'>Link</a>
</li>
<li>
<a href='#'>Link</a>
</li>
<li>
<a href='#'>Link</a>
</li>
</ul>
</div>
</nav>
Tip: You can also remove the .navbar-expand-md class to ALWAYS hide navbar links and display the toggler button.
Navbar With Dropdown
Navbars can also hold dropdown menus:
Example
<!-- Brand -->
<a href='#'>Logo</a>
<!-- Links -->
<ul>
<li>
<a href='#'>Link 1</a>
</li>
<li>
<a href='#'>Link 2</a>
</li>
<!-- Dropdown -->
<li>
<a href='#'>
Dropdown link
</a>
<div>
<a href='#'>Link 1</a>
<a href='#'>Link 2</a>
<a href='#'>Link 3</a>
</div>
</li>
</ul>
</nav>
Navbar Forms and Buttons
Add a <form>
element with class='form-inline'
to group inputs and buttons side-by-side:
Example
<form action='/action_page.php'>
<input type='text' placeholder='Search'>
<button type='submit'>Search</button>
</form>
</nav>
You can also use other input classes, such as .input-group-prepend
or .input-group-append
to attach an icon or help text next to the input field. You will learn more about these classes in the Bootstrap Inputs chapter.
Example
<form action='/action_page.php'>
<div>
<div>
<span>@</span>
</div>
<input type='text' placeholder='Username'>
</div>
</form>
</nav>
Navbar Text
Use the .navbar-text
class to vertical align any elements inside the navbar that are not links (ensures proper padding and text color).
Example
<!-- Links -->
<ul>
<li>
<a href='#'>Link 1</a>
</li>
<li>
<a href='#'>Link 2</a>
</li>
</ul>
<!-- Navbar text-->
<span>
Navbar text
</span>
</nav>
Fixed Navigation Bar
The navigation bar can also be fixed at the top or at the bottom of the page.
A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.
The .fixed-top
class makes the navigation bar fixed at the top:
Bootstrap Studio 4.5.1 64-bit + Patch
Example
..
</nav>
Use the .fixed-bottom
class to make the navbar stay at the bottom of the page:
Example
..
</nav>
Bootstrap 4 Website
Try it Yourself »Use the .sticky-top
class to make the navbar fixed/stay at the top of the page when you scroll past it. Note: This class does not work in IE11 and earlier (will treat it as position:relative
).
Example
..
</nav>