Navbar Bootstrap 5 | Bootstrap Navbar Tutorial

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Navbar Bootstrap 5 | Bootstrap Navbar Tutorial
    This tutorial navbar bootstrap 5 will cover how to make a navbar from scratch using the latest bootstrap 2021. This includes getting navbar logo and buttons up and running, ensure the navbar responsive design is working properly and different viewports and the responsive navbar also has things like a navbar dropdown with dropdown menu items and a navbar button.
    This is essentially a bootstrap menu that you can use on the header of pages. the dropdown menu navigation is core to all websites and worth learning!
    #navbar #bootstrap #tutorial
    Learn Design for Developers!
    A book I've created to help you improve the look of your apps and websites.
    📘 Enhance UI: www.enhanceui....
    Feel free to follow me on:
    🐦 Twitter: in...
    💬 Discord: / discord
    💸 Patreon: / adriantwarog

Komentáře • 117

  • @Sully2161
    @Sully2161 Před 3 lety +20

    Great tutorial! For anyone wondering, you can move the form up 1 line into the #navbarNav div to include it in the collapse action. This will also group it to the left, so you can add an "ms-auto" class to the form and it will float back to the right.

  • @abbassher201
    @abbassher201 Před 3 lety +18

    Please make a bootstrap 5 series

    • @AdrianTwarog
      @AdrianTwarog  Před 3 lety +6

      It’s in the agenda!

    • @walterandy7050
      @walterandy7050 Před 3 lety

      not sure if you guys gives a damn but if you are bored like me atm you can watch pretty much all of the latest series on InstaFlixxer. I've been watching with my gf for the last few months :)

    • @jaxshane6746
      @jaxshane6746 Před 3 lety

      @Walter Andy Yea, have been using InstaFlixxer for since december myself :)

    • @zanderraylan8518
      @zanderraylan8518 Před 3 lety

      @Walter Andy definitely, I've been using InstaFlixxer for months myself :)

  • @yuusource831
    @yuusource831 Před 3 lety +5

    Adrian, please do a footer than a sidebar. I would very much appreciate that.

  • @vladimiraleksic4066
    @vladimiraleksic4066 Před 2 měsíci

    Great video. I will use your video for my project - with acknowledgments, of course.

  • @DougSchofield
    @DougSchofield Před 2 lety +1

    That was helpful. Thanks. Though I am not impressed with Bootstrap. To center an object, lets see, is it Text-center, justify-content-center, align-content-center, align-items-center. All valid options, yet none of them work.

  • @Dadead1601
    @Dadead1601 Před 3 lety

    I love u, for some reason on the bootstrap documentation is says to only use data-toggle & data-target. You're a legend!

  • @barrington4800
    @barrington4800 Před 5 měsíci

    Thank YOU SO MUCH! we cookin on this web programming final project.

  • @escapingthenorm2205
    @escapingthenorm2205 Před 8 měsíci

    Love it! I’m knew what bootstrap was but never used it but now I decided to learn it and this was a great and easy to understand tutorial!

  • @shrikrushnakaphare2486

    Thank you very much I was trying drop down in navbar in react wasted a day this was helpful

  • @MsPaskota
    @MsPaskota Před 3 lety

    Wow i was straggling to make the nav apper and just to find out its just bs wow thank u so much

  • @francescociulla
    @francescociulla Před 3 lety

    Your videos are always 🧨🧨🧨

  • @alkay7283
    @alkay7283 Před 2 lety +4

    Thanks! excelent explanation, really helpful!

  • @HemmingEducation
    @HemmingEducation Před 2 lety

    Best example of this on the internet!

  • @amritgopinath9540
    @amritgopinath9540 Před 3 lety +2

    Really great video 👍👍 more bootstrap videos are expected

  • @TriggerBeat
    @TriggerBeat Před 2 lety +2

    Thanks for the tutorial! One thing that I and others might find useful is using the sticky-top class instead of fixed-top. fixed-top unfortunately would cover content on my page even when scrolled to the top.

    • @MarioKreeft
      @MarioKreeft Před 2 lety

      fixed-top was driving me nuts overlapping the main section.. changed to sticky-top... halleluja! thanks for your comment!!!!

    • @stefcioss1
      @stefcioss1 Před 2 lety

      @@MarioKreeft Yea but watch out for sticky-top class because it may not be supported with every browser.

  • @user-kt2bh9rp8x
    @user-kt2bh9rp8x Před rokem

    this video helps me to solve my responsive problem thank you ❤❤

  • @businessman6726
    @businessman6726 Před 2 lety

    teaching with dancing is cool bro

  • @Nxrth2001
    @Nxrth2001 Před 3 lety +1

    That tutorial was fast and good! Thanks man :)

  • @fuggeldev
    @fuggeldev Před 3 lety +1

    Nice tutorial! more about bootstrap 5 please :D

  • @riyasv.a4409
    @riyasv.a4409 Před 2 lety

    easy and fast explanation bro

  • @jith2545
    @jith2545 Před 2 lety +1

    Thanks for uploading

  • @vincejacobs566
    @vincejacobs566 Před 2 lety

    Great tutorial! I like the format also, thanks so much.

  • @dholearihant2187
    @dholearihant2187 Před rokem

    loved it youve been some great help brother

  • @bigjenny7954
    @bigjenny7954 Před rokem

    You are a legend Sir🙏🏾

  • @mbozar7572
    @mbozar7572 Před rokem

    LIKED AND SUBBED! Thanks :)

  • @Shoi-0
    @Shoi-0 Před 9 měsíci

    Thanks

  • @davidoyewale1085
    @davidoyewale1085 Před 2 lety

    Thanks alot for this video
    It helped alot

  • @usmanmunir1559
    @usmanmunir1559 Před 3 lety +2

    All you have to know about navbars is in this video 💙

  • @arathijagdish8772
    @arathijagdish8772 Před 3 lety +2

    can you please mention the code snippet you are using

  • @azzedinebekkar2813
    @azzedinebekkar2813 Před 3 lety

    You saved me dude, thank you so much !

  • @unowho117
    @unowho117 Před 2 lety

    Amazing tutorial! Thank you

  • @shrinjitsharma2845
    @shrinjitsharma2845 Před 2 lety

    Thanks...keep up the good work 🙏

  • @gamelifer234
    @gamelifer234 Před rokem +1

    How do you collapse the head in 1:43?
    Also my emmet abbreviation setting looks different than yours. Mine appears on the right and it's not as good as yours.

  • @saffrondionysius072
    @saffrondionysius072 Před 3 lety

    Pls make a video on adding social media icons to the right of navbar

  • @williammartinez7172
    @williammartinez7172 Před 2 lety

    awesome! tutorial!

  • @piegpa
    @piegpa Před 3 lety

    Good tutorial, thanks!

  • @realcolormusic
    @realcolormusic Před rokem

    Thanks for this really helpful video. Just something I discovered with by using Bootstrap 5.3. The first list element in the unordered list (ul) is interpreted like the brand. If you don't move the brand to the first position, the HOME li element does not align with the following li elements.

    • @Pro_Developer65
      @Pro_Developer65 Před 11 měsíci

      czcams.com/video/5RNW1xCE1Os/video.htmlsi=baPj1AFAFu5EGtRx

  • @ruvindatharaka8621
    @ruvindatharaka8621 Před 2 lety

    Thank you!

  • @tymiller2596
    @tymiller2596 Před 3 lety

    Hello there.
    Great Channel.
    Have you made a video on which modern way to "insert" header and footer across multiple HTML pages - similar to the way we used "includes" in .php pages in the past.
    Thanks you.

  • @learningtostream3919
    @learningtostream3919 Před rokem +1

    Damn you good.

  • @nithin3476
    @nithin3476 Před rokem +1

    Bro where is the code for these please kindly upload in github

  • @tabau2
    @tabau2 Před 3 lety +2

    Hey Adrian Twarog you probably forgot lol but a year ago Jun 14 2020 you uploaded your video called "WordPress Theme Development Tutorial 2020" and at the time stamp 5:32 you used a host file, Is there any way you still ahve that host file and can link it to me? I did not see a lnik in your video Thanks!

    • @AdrianTwarog
      @AdrianTwarog  Před 3 lety

      The host file is for setting a domain locally, it’s just a generic one which mapped local 127 to Wordpress site. Mac might be different but ideally google host file local domain via google and you should get the result :)

  • @SpecialPark
    @SpecialPark Před 3 lety

    Thank You Bro. :)

  • @SolomonGezu
    @SolomonGezu Před rokem

    Thank you Bro

  • @BruceLee-sp5wn
    @BruceLee-sp5wn Před 3 lety +1

    Sir my Question is... How I can create navigation bar via using CSS! 🙏🏻

  • @katiesbothers
    @katiesbothers Před rokem

    Great video! Thanks so much! I do have a question, the text in my dropdown "features" is all aligned to the right instead of the left. I followed your tutorial step by step and I can't see what I've done wrong here. Any help would be great!

  • @dominicokechukwu8444
    @dominicokechukwu8444 Před rokem

    Very interesting

  • @zoelkh
    @zoelkh Před 2 lety

    great channel..
    get to create sidebar with navbar using bootstrap 5?

  • @RobMatthews21
    @RobMatthews21 Před rokem

    Thank you. Can you share the code? And is there wiki or something of all the classes. And how would I position the menu items centrally with the logo to the left?

  • @oreki9048
    @oreki9048 Před 24 dny

    why is mine not inlining the nav I dont udnerstand im just following your guide 1:1

  • @edwarddiaz7094
    @edwarddiaz7094 Před 11 měsíci

    So i got up to the point where you typed in the aria- when i mirrored what you did it didnt highlight nor function. Can anyone tell me what i may have done wrong

  • @1AtlantaKid
    @1AtlantaKid Před 2 lety +1

    Thanks Adrian, great stuff, However, my nav fixed-top class is working but covering the text in the body of the HTML, I used your code as is for practice and put the div.container before the nav and after Hello and added 10 random text paragraph with p*10>lorem50 and the nav bar convers the Hello and some of the text from paragraphs, I tried this in FF, Chrome and Edge ( all update as of Jan 26, 2022) and they all have the same issue. Any ideas?
    Thanks

    • @gael6252
      @gael6252 Před 2 lety +2

      Kinda late here, use sticky instead of fixed.

  • @kalpanajanarthanam4524

    I like your code editor theme. ☺☺Which dark theme are you using in your VS code editor?

  • @akichoe
    @akichoe Před 2 lety

    do u hv tutorial bout tab-pane next button?

  • @enesaytekin5827
    @enesaytekin5827 Před rokem

    Great!!!

  • @zeke2269
    @zeke2269 Před 7 měsíci

    how to move the menu to the tight side ?

  • @mdsaifullah6305
    @mdsaifullah6305 Před 8 měsíci

    Please published Boostrap 5 more long project

  • @eternalwisdoms18
    @eternalwisdoms18 Před 10 měsíci

    how can we toggle navbar from left/right instead of downside

  • @peppis3408
    @peppis3408 Před rokem

    i have a small problem with the dropdown menu or the menu it self, it opens like it should but it doesnt close, how do i fix it ?

  • @Sneeit
    @Sneeit Před rokem +3

    So you literally type the document code and call it a tutorial.

    • @sigma_z
      @sigma_z Před 5 měsíci +1

      He actually copied the code from the other screen. Turning his head to look at the other screen and back again. He should just turn off his camera.
      He also didn't finish off the navbar with the responsiveness of the search form.
      My opinion is a fail. 🤦🏻‍♂️

  • @cherry-lp8yq
    @cherry-lp8yq Před 3 lety +2

    can i get the source code?

  • @ChrisTompkins-cy1go
    @ChrisTompkins-cy1go Před 6 měsíci

    My "Features" dropdown is not working. I double checked the code, but haven't found anything.

  • @loganmarsh3584
    @loganmarsh3584 Před rokem

    Does anyone here know how to style the navbar so that when one of the buttons on the nav is selected it changes color?

  • @maahhkusful
    @maahhkusful Před rokem

    Howww do I get the nav to distribute the items evenly horizontally across the screen

  • @prod.marquete3294
    @prod.marquete3294 Před 2 lety

    If I want to place the items vertically aligned under each other in the navbar-brand, how do I do that?

  • @manohar3626
    @manohar3626 Před 2 lety

    hi i have an problem with the toggler button I can't seem to click on the button any hellp

  • @tim_ny
    @tim_ny Před 2 lety +1

    What font are you using in VSCode...I like it

    • @AdrianTwarog
      @AdrianTwarog  Před 2 lety

      Fire Code

    • @tim_ny
      @tim_ny Před 2 lety

      ​@@AdrianTwarog​ am assuming that's supposed to be "Fira" rather than "Fire", right

  • @samuelabel6091
    @samuelabel6091 Před 2 lety

    Please how can I place the navitem any where in the navbar

  • @bigjenny7954
    @bigjenny7954 Před rokem

    Is it a common way to give the brand logo a fixed size?

  • @xczm225
    @xczm225 Před 3 lety

    sub for sure! ❤️

  • @leticiabraga478
    @leticiabraga478 Před 2 lety +2

    Hi Adrian! This was an amazing class! I believe I did something wrong though. Could you help me? This is the code for my toggled button. Unfortunately, once I click on it a second time to go away, it does not disappear.

    Face of Wood



    Home


    Floors


    Procedures

  • @robertoc4490
    @robertoc4490 Před 3 lety

    anyone having problems with the nav icon to come out?

  • @touhidsourav2475
    @touhidsourav2475 Před 3 lety

    Which font do you use on vscode?

  • @hakimssszzz9289
    @hakimssszzz9289 Před rokem

    i need some help guys why after the toggle button for menu after i open it i cannot close it? anyone can explain, i use notepad++ to code it

  • @belloabdul-azeezikhanaede5672

    Please how can I use it

  • @DeekshithT-ku5ce
    @DeekshithT-ku5ce Před rokem

    Not working

  • @supratimchoudhury1492

    sir with due respect i thought you would explain the individual terms and not just write those classes without explaining what those terms really meant..

    what does navbar toggler, data bs toggle collapse means??????????????????? HOW THESE CLASSES INTERACT WITH EACH OTHER TO GIVE THE HAMBURGER MENU ITS EFFECT ?
    and what are the functions of these classes :
    - WHAT NAVBAR COLLPASE IS DOING AND WHAT COLLAPSE ROLE IS?
    SIR CAN YOU KINDLY EXPLAIN IN ANOTHER VIDEO THE ROLES OR FUNCTIONS OF THESE CLASSES SO THAT THEY DONT APPEAR AS FOREIGN LANGUAGES TO ME???
    THANKS

  • @ideagame3633
    @ideagame3633 Před 3 lety

    Like Like liiiiiiiiiiiiiiiiiike!

  • @somichi3629
    @somichi3629 Před 2 lety +1

    your look like mr beast but the big brother of him

  • @aminbagheri4467
    @aminbagheri4467 Před rokem

    I' not gay but I love you and what you did.

  • @tanmaygautam1348
    @tanmaygautam1348 Před 3 lety +2

    Hello, How are you?

    • @AdrianTwarog
      @AdrianTwarog  Před 3 lety

      Yeah good, working hard and trying to make a video every now and then when I can that gives a bit of value :)

    • @tanmaygautam1348
      @tanmaygautam1348 Před 3 lety

      @@AdrianTwarog Yeah I am also good, trying to learn new things :)

  • @alfredkufa3135
    @alfredkufa3135 Před rokem +1

    Bro are you serious, what is the point of making a tutorial when you show the changes (refresh the page) after 10 lines of code as if we're supposed to know what is going to happen. You need to take this step by step when making a tutorial. You are writing like you're at work.
    So basically,
    1. You don't explain what you are writing (mostly), and even when you do then you don't show it on screen
    2. You aren't showing how the code you've written changes the page (you do, just after like 10 steps, it's hard to tell what change is caused by what line of code)

  • @tanphatnguyen9047
    @tanphatnguyen9047 Před 2 lety

    my menu empty xD

  • @notbeluga8249
    @notbeluga8249 Před 2 měsíci

    You just copied the code from documentation

  • @JohnDoe-qm8ns
    @JohnDoe-qm8ns Před 6 měsíci

    7:31

  • @oluchukwuughagwu8293
    @oluchukwuughagwu8293 Před rokem

    You do not take time to explain the bootstrap tags that you use. We are watching this tutorial not to see you design your nav bar but to make us understand how bootstrap works

  • @scrab4ever
    @scrab4ever Před 2 lety

    Hello! We are currently working on an online payment system that uses cryptocurrency as a means of trade and we are looking for a front-end developer. In case you might be interested, please let us know!

  • @theblackelephant
    @theblackelephant Před 2 lety +1

    yak

  • @dogoodhavegood229
    @dogoodhavegood229 Před 11 měsíci

    Thanks Buddy for wasting my time

  • @huseyinlora
    @huseyinlora Před 2 lety

    reading Bootstrap site, boring

  • @Aizaz_Raza
    @Aizaz_Raza Před 10 měsíci

    Bro is just copy-pasting.

  • @thirstyturbo
    @thirstyturbo Před 5 měsíci

    dude - great content but i couldnt stop getting annoyed at you repitively rubbing your chin. Thanks for the video though

  • @tahsintanveer1808
    @tahsintanveer1808 Před 2 lety

    How do I align the menu on the right just below the hamburger icon when it collapses?