Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download bootstrap navbar only?

I'd like to use only the bootstrap navbar in my website without having to download all of the bootstrap code as it interferes with my current classes and divs.

Can anyone tell me which options to include in my custom download?

I clicked on navbar (it ticks other options which I assume are required for navbar to work) but my navbar won't work after including the css.

I have the Jquery and Bootstrap CDN links in my code so I'm pretty sure it's just the CSS.

Muchos thanks,

like image 688
SkewerHed Avatar asked Jun 26 '14 15:06

SkewerHed


2 Answers

Okay..... Problem solved! Adrian missed just one selection (component animations). ... the nav bar in mobile was always open, rather than being 'click to open'. Thanks though to Adrian for the starting point.

I did it the hard way.... trial and error.

To gain minimised script & css files, that allows the nav bar to work in both desktop, and mobile display formats... ... you need to check the following boxes:

Common CSS

  • Grid System
  • Forms
  • Buttons
  • Responsive Utilities

Components

  • Navs
  • Navbar

Javascript Components

  • Dropdowns
  • Component animations (for JS) (includes Collapse)

JQuery Plugins

  • Dropdowns
  • Collapse

Bingo!

Bloody marvelous!!!!!

like image 87
Marco-UandL Avatar answered Nov 15 '22 13:11

Marco-UandL


For a complete navbar like the image below,

Normal

Bootstrap NavbarCollapsed

Collapsed

Go to this link - getbootstrap.com/customize

Once there, uncheck all the checkboxes except for the following:

Common CSS

  • Grid System
  • Forms
  • Buttons
  • Responsive Utilities

Components

  • Navs
  • Navbar

Javascript Components

  • Dropdowns

jQuery Plugins

  • Dropdowns
  • Collapse

Click the compile and download button at the bottom of the page.

Or just download the customize I made.

Customized Bootstrap Download Link

Offline Demo (Download First)

like image 10
Adrian Enriquez Avatar answered Nov 15 '22 15:11

Adrian Enriquez