Bootstrap 5 Crash Course Tutorial #19 - Customizing Bootstrap

  Рет қаралды 183,359

Net Ninja

Net Ninja

Күн бұрын

Пікірлер: 236
@jyotirmoydeb5263
@jyotirmoydeb5263 3 жыл бұрын
I don’t really understand why the videos like yours with actual content don’t get enough views and some garbage videos have millions of views .... after so many stupid videos this is where I got my answer.... thanks a million
@glenimal
@glenimal 2 жыл бұрын
That’s how life is
@SimonBates-d7o
@SimonBates-d7o 9 ай бұрын
I have been trying to work out how to compile css and sass for a few days now, this video smashed it, lifesaver!!
@etekumoses3320
@etekumoses3320 2 жыл бұрын
Been struggling for days on how to customize bootstrap but you are a life saver Thanks a lot 🎉
@NetNinja
@NetNinja 2 жыл бұрын
Happy to help Eteku! Thanks for watching :)
@remember.772
@remember.772 7 ай бұрын
​@@NetNinjathe offcanvas and this part(customizing the setting process all) is not working for me ,idk why pls say smth
@tophinski
@tophinski 3 жыл бұрын
FOR EVERYONE HAVING PROBLEMS WITH THE CUSTOM COLORS NOT CHANGING Someone already said this but you can add the following under your map-merge function (for example): ``` $theme-colors: map-merge($theme-colors, $custom-theme-colors); // You should already have this, so no need to copy this part. // Start copying at the line below $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value"); $utilities-colors: map-merge( $theme-colors-rgb, ( "black": to-rgb($black), "white": to-rgb($white), "body": to-rgb($body-color) ) ); $utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text"); $utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg"); // Stop copying at the line above @import "../node_modules/bootstrap/scss/bootstrap"; // You should already have this as well, so no need to copy this part. ``` If this doesn't work, make sure you've typed everything in correctly. Reply to this comment if you have any questions! Also make sure you are watching your sass file at the bottom of the page, you have to click that button every time you load up your project. Hope it helps!
@playmambo9573
@playmambo9573 3 жыл бұрын
Thank you! Your solution worked for me!
@kalyanoliveira3224
@kalyanoliveira3224 3 жыл бұрын
thanks! why does this work?
@Danny-zf2wu
@Danny-zf2wu 3 жыл бұрын
try this // merge the maps to add new theme colors $theme-colors: map-merge($custom-theme-colors, $theme-colors); // import bootstrap @import '../node_modules/bootstrap/scss/bootstrap'; @each $key,$val in $custom-theme-colors{ .bg-#{$key}{ background-color: $val; } .text-#{$key}{ color: $val; } }
@quqkaa
@quqkaa 3 жыл бұрын
I love you, thx!
@tomasmarenco6214
@tomasmarenco6214 3 жыл бұрын
Thank you!!
@rodrigoblejman2129
@rodrigoblejman2129 3 жыл бұрын
Just finished the hole playlist. Great teaching method and straight to the point.
@jlambert12013
@jlambert12013 3 жыл бұрын
I watch like 15 videos on this and this is the only one I followed and actually had work. Thanks.
@3678-r6r
@3678-r6r 3 жыл бұрын
Got up at 3 am to wait for and watch new episode from Net Ninja!
@NetNinja
@NetNinja 3 жыл бұрын
dedication!
@wojcik272
@wojcik272 Жыл бұрын
Dziękujemy.
@NetNinja
@NetNinja Жыл бұрын
Thanks for your support Tomasz!
@samuelqiu8185
@samuelqiu8185 2 жыл бұрын
Thanks!
@NetNinja
@NetNinja 2 жыл бұрын
Thanks for the support Samuel :)
@samuelqiu8185
@samuelqiu8185 2 жыл бұрын
@@NetNinja You're welcome! Helped me a lot!
@Moustafa-Sabry
@Moustafa-Sabry 10 ай бұрын
Amazing. Didn’t want to have to learn a whole new language when all I wanted to do was change colours in bootstrap, and now I don’t have to. Thanks!
@tahep3906
@tahep3906 2 жыл бұрын
thanks for this brilliant tutorial, Sass is the easiest and the most useful tool for customizing bootsrap
@NetNinja
@NetNinja 2 жыл бұрын
You're welcome! :)
@Russ_Paul
@Russ_Paul 2 жыл бұрын
Considering the convoluted nonsense that you used to have to go through with Sublime text to setup sass and compile, Livesass is brilliant. Just to add, excellent tutorial as always!
@finnalandem
@finnalandem Жыл бұрын
Look at that, I had to skip to the 19th video to find what I needed, very efficient AND practical.
@yazzindev
@yazzindev Ай бұрын
This is the only proper video explaining it. Thank you so so much for helping us.
@NetNinja
@NetNinja Ай бұрын
You're very welcome! thanks for watching :)
@BicospaceTech
@BicospaceTech 2 жыл бұрын
You are gold, explained it as clear as Crystal
@venugopalpv823
@venugopalpv823 6 ай бұрын
At last after so many videos I got the correct video, and got clarity on customizing bootstrap themes, Thank you
@NetNinja
@NetNinja 6 ай бұрын
Great to hear! :)
@wickedclamor4882
@wickedclamor4882 Жыл бұрын
This is a goldmine. You got a subscription.
@NetNinja
@NetNinja Жыл бұрын
Thank you! :)
@ridl27
@ridl27 3 жыл бұрын
ty Shaun, I've been waiting for this lesson! So now we are true bootstrap ninjas 🐱‍👤🐱‍👤🐱‍👤
@OstonCodeCypher
@OstonCodeCypher 3 жыл бұрын
My neighbors listen to this everyday. It's not like they have a choice. 😁 #GreatTutorials
@julioclc
@julioclc 2 жыл бұрын
6:01 - It is just what I was searching for.... WHY I need to write the variable ABOVE the import line. I was writing it in other way and didnt get any results!
@petyrbaelish6046
@petyrbaelish6046 2 жыл бұрын
Live sass didnt creat a Css folder for me so I created the Folder myself and I copied the css files there and then it worked. I hoped that helped anyone who has the same problem like me.
@_Yolandi
@_Yolandi 2 жыл бұрын
Ninja I learned so much from you over the years, thank you
@fraserlock-macardy9633
@fraserlock-macardy9633 3 жыл бұрын
That was a great lesson Thanks....Seriously that lesson has instilled a lot of confidence in my coding going forward. Many Thanks indeed. Wishing you well. Fraser.
@CeeTheJay
@CeeTheJay 4 ай бұрын
Right on the money! Thank you, very helpful.
@NetNinja
@NetNinja 4 ай бұрын
Glad it helped! :)
@usmaak
@usmaak 2 жыл бұрын
This is an excellent tutorial. It is concise and just what I was looking for to turn on negative margins in Bootstrap! Thanks!
@wojcik272
@wojcik272 Жыл бұрын
Nice job man! finally someone clear and easy explained that issue to me!
@teaMmMate
@teaMmMate Жыл бұрын
Such a helpful, well-explained tutorial. Thank you!!
@NetNinja
@NetNinja Жыл бұрын
Glad it was helpful! :) thanks for watching
@abelmurua6980
@abelmurua6980 3 жыл бұрын
Amazing, spent 2 days and didnt know how to do this. Thank you
@chrischti
@chrischti 3 жыл бұрын
This is a great course, I went through all the Bootstrap 5 Crash Course now, very helpful. One questions, it was mentioned that overriding styles using a individual css is not recommended, but I wonder why. If I just have to modify some styles, it seems so much easier to me just to add a small, individual stylesheet, rather than setting all this up. What is the reason using an individual css is not recommended?
@innameleshko7834
@innameleshko7834 3 жыл бұрын
I think the answer is if u have small project and small changes it is ok, but if your project is huge - its not an option. In my bootstrap course it was explained like this "This is how all components are presented within Bootstrap. Almost any external change is the result of the use of variables. This approach ensures that you bind to the framework and change all components when you change the basic settings. Many developers, when creating their components, miss this point, which negatively affects the future support of the project, since changing the settings will not change the component. To do this, you will need to edit the CSS separately. If there are dozens of such components, then the possibility of error increases, and the time required for changes will increase significantly." sorry for mistakes^ its just google translate from russian
@christosdaglis1163
@christosdaglis1163 2 жыл бұрын
Exactly, absolutely no need to do all this for small projects. If you're working a project by yourself, you can work with external files. This is basically for really large scale projects that involve teams.
@fatalskull8954
@fatalskull8954 10 ай бұрын
Not working on Angular... default styles.scss, doing the same thing, btn-primary still blue
@huynhminhquan9977
@huynhminhquan9977 Жыл бұрын
You help me save a lot of time. Thanks dude. I subbed
@__Who-am-i__
@__Who-am-i__ 2 жыл бұрын
Where have you been all my life! Xd I love you
@koala_8027
@koala_8027 3 жыл бұрын
Great and simple video, really opened my eyes up to the power of SCSS and bootstrap 5 👍
@innameleshko7834
@innameleshko7834 3 жыл бұрын
Thanks a lot for video! I always have problems with all this pathes and imports, and it makes mem a bit crazy, but u explained everything so clear!
@Officialhenro
@Officialhenro 25 күн бұрын
I was following every step of the video but I am confused on how and when you created the css folder that has the main.min.css file and the map file in it Please explain to me
@joshuathao1532
@joshuathao1532 2 жыл бұрын
Anyone else not seeing the same settings in there settings.json file? What is the default and what did he change?
@mateobravamateobrava989
@mateobravamateobrava989 3 жыл бұрын
Thanks for all tutorials I am stuck here at compile and output the main.scss file. can you please reexplain how to configire the livesass json settings ? I can t get the files in the specified output folder.. Thanks in advance
@porker5749
@porker5749 3 жыл бұрын
Same here
@XnonXte
@XnonXte Жыл бұрын
Very neat tutorial, thanks!
@stylinali
@stylinali Жыл бұрын
I did not get how you import in main.scss 5:04
@Movieflic
@Movieflic Жыл бұрын
Exactly
@johningram2153
@johningram2153 3 жыл бұрын
Great video. I got exactly what I needed by halfway through. Thanks!
@DheerajGoswami-v3o
@DheerajGoswami-v3o 6 ай бұрын
Nice tutorial, am learning the web dev, instead of altering the default values with SASS I use the inline CSS I am not sure if that's the right way to do.
@imajika6
@imajika6 8 ай бұрын
Very helpful, thanks!
@arkansharif5135
@arkansharif5135 Жыл бұрын
This was rather an excellent tutorial--thank you, siree!
@NetNinja
@NetNinja Жыл бұрын
Thanks Arkan, glad it was helpful!
@KumananMurugesan
@KumananMurugesan 10 ай бұрын
Thank you very much. Really informative and useful.
@NetNinja
@NetNinja 10 ай бұрын
Glad it was helpful! :) thanks for watching
@martunjaykumar752
@martunjaykumar752 3 жыл бұрын
Thanks, Buddy. This is what, I was looking for today.
@bronwynpotgieter7405
@bronwynpotgieter7405 6 ай бұрын
Mine isn't compiling into one file.. many files are being compiles in my css folder after watching the scss file?
@patriotlightning7791
@patriotlightning7791 Жыл бұрын
Thanks a lot mate. ❤
@stephen2824
@stephen2824 2 жыл бұрын
Fantastic, my friend. Many thanks indeed !!
@ghelibe7933
@ghelibe7933 3 жыл бұрын
Anyone have issues with the offcanvas not working when using local bootstrap, when i use cdn it works fine but as soon as I changed to local bootstrap its not working properly. Can you pls help, thanks
@ajithb3995
@ajithb3995 3 жыл бұрын
Same with me.
@CountOfValorant
@CountOfValorant 2 жыл бұрын
same here man
@CountOfValorant
@CountOfValorant 2 жыл бұрын
did you guys get any solution ?? pls le me know @Ghelibe
@CountOfValorant
@CountOfValorant 2 жыл бұрын
i got the solution . I created a new project and from the get go i used and installed bootstrap locally and the issue got fixed . I think the problem was that in the head section u have to replace script tag in the bottom with the new one like this ---- . The problem got fixed just like that .
@sadhakbj
@sadhakbj 3 жыл бұрын
Would be grateful if you do another video continuing bootstrap for admin portal with dashboard and forms.
@HomelessDeamon
@HomelessDeamon 3 жыл бұрын
😉🎊🎊🎊🎊🎊🎊🎊 thanks Shaun (Btw are u doing any livestreams? )
@NaveedAnwarNZ
@NaveedAnwarNZ 2 жыл бұрын
Thanks for the training. Really appreciated! Very simple and comprehensive for the starters. Just a quick question, I have a scenario where in Bootstrap-3 the .col-xs-n class was defined outside the media query but in Bootstrap 5 it is defined within the media query. Due to which, the wkhtmltopdf utility is unable to use .col-xs-n class. What do you think is the best idea to create a custom class outside media query and inherit it from the .col-xs-n class. Is it possible to show the video on it please? Thanks in advance!
@ytamb01
@ytamb01 3 жыл бұрын
I couldn't get this to work for backgrounds or text but it did work for buttons e.g. btn-altdark was purple but the other classes e.g. bg-altdark and text-altdark didn't have any styling in dev tools. I've checked my scss against yours. Not sure what is wrong. Any ideas?
@dhawwal
@dhawwal 3 жыл бұрын
Same for me as well "altlight" and "altdark" isn't working.
@opeyemiolawuwov3554
@opeyemiolawuwov3554 10 ай бұрын
But before I found your video, I had been trying to make changes to the primary color in the normal bootstrap file I downloaded. I guess because of that, min.css always brings 3 error notifications Also define the standard property 'appearance' for compatibility css(vendorPrefix) Please I need help
@stevemesser4842
@stevemesser4842 2 жыл бұрын
You explain things so well..........Thanks.
@NetNinja
@NetNinja 2 жыл бұрын
Thanks Steve!
@Movieflic
@Movieflic Жыл бұрын
@@NetNinja how did you import here 5:13
@Movieflic
@Movieflic Жыл бұрын
How did you do the first import of the video
@roamrcm
@roamrcm 2 жыл бұрын
Using this method, how do I add the bootstrap javascripts on my working files?
@sammiller9855
@sammiller9855 2 жыл бұрын
Excellent tutorial! Thanks
@herozero777
@herozero777 Жыл бұрын
Thanks a lot, this video was very helpful.
@NetNinja
@NetNinja Жыл бұрын
Glad it was helpful!
@ninettekosi4046
@ninettekosi4046 Жыл бұрын
You're really great pal
@NetNinja
@NetNinja Жыл бұрын
Thanks Ninette!
@unnathibhandary535
@unnathibhandary535 9 ай бұрын
can any on help me in sass integration iam not able to change the color plz help me out
@kristianp26
@kristianp26 8 ай бұрын
Thanks really helpful video.
@NetNinja
@NetNinja 8 ай бұрын
Glad it was helpful!
@marcosaugustorodrigueszano5945
@marcosaugustorodrigueszano5945 5 ай бұрын
where can I change the number of columns in the grid?
@alext5030
@alext5030 Ай бұрын
.row-cols-. Example: .row-cols-2 = 2 columns (max - 12). Also, there are: $grid-columns - width of column (in %), $grid-gutter-width (in rem), $grid-row-columns - max number of columns for .row-cols-
@muhammadrasyad964
@muhammadrasyad964 2 жыл бұрын
Thank you so much, this helps me a lot, thanks once again.
@Movieflic
@Movieflic Жыл бұрын
5:13 how did you import here
@patrickprakash8
@patrickprakash8 3 жыл бұрын
Hey shaun, How can i use @use instead of @import?
@playerpodre
@playerpodre 2 жыл бұрын
Awesome. Solved my Bootstrap Vue problems.
@SanduSenavirathne
@SanduSenavirathne 8 ай бұрын
I have to to restart front end in each time update the sass files, does anyone why is that? cannot we automate that?
@cafe-con-leche
@cafe-con-leche 2 жыл бұрын
Thank you so much! but I have no idea why map-merge function doesn't work 😢
@vladoportos
@vladoportos 2 жыл бұрын
Why make simple custom color changes when we can make it insanely difficult installing extra program and compiling stuff left and right... damn, I just wanted to change one color :D
@irabor18
@irabor18 2 жыл бұрын
this is the worst video in the series by far!
@ezro4083
@ezro4083 2 жыл бұрын
Small edits in .CSS are fine if your project is tiny. If you're going to work in a company or group project, with thousands of lines of code and a bunch of different webpages, that won't do. Learning this is more important than you might think.
@HyperCazual
@HyperCazual 2 жыл бұрын
uhg... @7:52 it doesn't export a file into the css folder, but it did make the css folder. So kind of working?
@HyperCazual
@HyperCazual 2 жыл бұрын
the @import line is throwing the error... the file is there but visual studio code is unable to open because file not found.
@HyperCazual
@HyperCazual 2 жыл бұрын
went back and dled the sketchy chocolatey and it still doesn't work.
@ciciiig
@ciciiig 8 ай бұрын
anyone can explain how to deploy after this changes on GH pages?
@anoop.225
@anoop.225 2 жыл бұрын
How to add custom color for button :hover style similar method ?
@aeeweb6464
@aeeweb6464 2 жыл бұрын
Thanks, But how can I custom directions ? rtl ?
@samerbassamsiblini7119
@samerbassamsiblini7119 2 ай бұрын
for those of you that cannot get npm init to work here are 3 commands you should run: 1-set-ExecutionPolicy RemoteSigned -Scope CurrentUser 2-Get-ExecutionPolicy 3-Get-ExecutionPolicy -list good luck y'all
@kizseafloralde2022
@kizseafloralde2022 2 жыл бұрын
I've done everything but the result that I get is only a glimpse of the color that I want the $primary to be. I've rewatched the tutorial many times already and I did what I did but it doesn't work. Please help me! T_T
@wunorfleet2880
@wunorfleet2880 2 жыл бұрын
When I click "Watch Sass" it doesn't compile. It gets stuck on "Working on it..." and it gave the following error in the runtime status: glob pattern string required
@abhisheksurela2881
@abhisheksurela2881 2 жыл бұрын
Well Explained! Thank-You So Much 😁
@NetNinja
@NetNinja 2 жыл бұрын
You're very welcome 😊
@dzulhelmi81
@dzulhelmi81 2 жыл бұрын
How do you manage and compile Sass on live web server/hosting?
@xiaonaiheme
@xiaonaiheme 2 жыл бұрын
This one is best.Wondering how to use custom colors. But how to use custom font
@abhishekmehta2722
@abhishekmehta2722 2 жыл бұрын
thanks a lot brother !
@NetNinja
@NetNinja 2 жыл бұрын
You're welcome!
@frontend-trickss
@frontend-trickss 2 жыл бұрын
how to customize container for every breakpoint ?
@GeminiLearning
@GeminiLearning 3 жыл бұрын
Great content Thanks!. Can you use Node JS in ASP.NET project?
@ohadcohen136
@ohadcohen136 2 жыл бұрын
why the bg-altdark doesn't work for me? I did everything as explained
@yaizahpm
@yaizahpm 3 жыл бұрын
Hi there, i'm having the same issue as some of the other people here. The code doesn't change backgrounds when i write "bg-altdark" or "bg-altlight", i've watched the video a few times to see if i'm making any mistakes but i've written everything like you did, it works on buttons, but not on backgrounds or icons, any idea why is this and what should we do to fix it? Thanks!
@vali8924
@vali8924 3 жыл бұрын
I had the same issue, i tried this and it worked, there's probably a better way to do it though but i dont know (paste this in the sass file after you merged the theme colors with your custom ones) $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value"); $utilities-colors: map-merge( $theme-colors-rgb, ( "black": to-rgb($black), "white": to-rgb($white), "body": to-rgb($body-color) ) ); $utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text"); $utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg");
@askaranarbekov3145
@askaranarbekov3145 2 жыл бұрын
@@vali8924 how did you find the solution to this problem? I would like to read the source, and by the way it helped me thanks to you
@mohamadkeshavarz2039
@mohamadkeshavarz2039 3 жыл бұрын
very useful , thanks 🌷
@Faithfultraderug
@Faithfultraderug Жыл бұрын
Can't seem to get it to compile
@jmasno5
@jmasno5 2 жыл бұрын
You are awesome! Do you know how many videos unsuccessfully made it through my thick skull? You were the first that explained this perfectly. I effing get it now! The only thing I had to look up was how to get npm to install bootstrap 4.6 because the site was originally created with ver. 4 and was afraid weird things might happen or not work with v5. Thanks man!!!
@NetNinja
@NetNinja 2 жыл бұрын
Aha, thanks for the support, glad it helped! :)
@opeyemiolawuwov3554
@opeyemiolawuwov3554 10 ай бұрын
You are the best.
@randombucket5596
@randombucket5596 3 жыл бұрын
the SASS tutorials are quite old, any updates ???
@steveb1307
@steveb1307 2 жыл бұрын
Have just found your Tutorial, thank you. I a wondering have you done a similar tutorial using VS2022 IDE rather than VS Code? Thanks
@Rank1Education
@Rank1Education Жыл бұрын
Awesome content
@TEODOEMONEY1
@TEODOEMONEY1 11 ай бұрын
Hello, everyone. I'm stuck here. It won't create the css folder after installing the live sass compiler. Anybody else have this problem?
@saimlone403
@saimlone403 Жыл бұрын
i have got a big problem. i was using the cdn links like you did in this video, but after downloading the bundle, the image still doesn't show up when the internet is off. Same goes with the icons, they seldom showup. Anybody having any idea what to do other than using cdn?
@sinno2861
@sinno2861 2 жыл бұрын
My setting.json file shows something completely different. Idk what to do now
@sanjundev9807
@sanjundev9807 3 жыл бұрын
Im searching for mongo db realm for react native tutorials, but none found good. Can you do it?
@fnamelname3209
@fnamelname3209 2 жыл бұрын
Is there any easy way to change the @import to @use? Or some other method? Apparently import is deprecated, or will be eventually.
@ridafatima7477
@ridafatima7477 3 жыл бұрын
can i change the value of user defined variable in bootstrap?
@ijazDeveloper786
@ijazDeveloper786 2 жыл бұрын
sir i don,t get the fiel that you have included in html link "css/main.min.css" how can i get this file tell me please
@richardmartyns7978
@richardmartyns7978 Жыл бұрын
Honestly I prefer using raw CSS for my customization. Hope it's okay?
Bootstrap 5 Crash Course Tutorial #20 - Tabs
7:20
Net Ninja
Рет қаралды 78 М.
New Bootstrap Feature - CSS Variables
14:32
Coder Foundry
Рет қаралды 10 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Hostinger Coupon Code | Get THE BEST Hostinger Coupon Code
2:26
The Techno Galaxy
Рет қаралды 4,7 М.
Customise Bootstrap's Sass
22:27
Pixel Rocket
Рет қаралды 14 М.
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 79 МЛН
Bootstrap 5 Crash Course
1:11:15
Web Dev Simplified
Рет қаралды 499 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 183 М.
Change Colors in Bootstrap with Sass (2023 Best Solution)
5:27