Hello, in this bootstrap four video, we're just going to quickly cover color schemes for your navbar. Because by default, the one that we use by default was navbar dash light. There are a few other color schemes, one of the other ones, or the corresponding one to nav bar dashboard, nav bar dash da. You know what, I'm gonna copy and paste this. So you can see the difference between the different color schemes instead of just replacing it saw, like a limit on how much code we can have. So let's save that.
Refresh. Okay, doo doo doo doo. And you might be thinking, why can't I see like the button and the thing is, you actually can see the buttons. It's just, they are now light color. Obviously, if this is dark, that's going to show The light text will be light but to actually make this dark, what you need to do is BG dash inverse work and let's go back onto it up, I've got to get rid of the faded. There we go.
So with the navbar dark and the BG inverse, we have a black background and white text without adding any other custom CSS and they look very good. What we can also do, again copy and paste this. We can do draw and I'm going to put BG dash primary. So there we go. We have a nice blue nav bar. And what we can also easily do is set a custom color for the background.
So I'm going to get rid of faded and put style. I'm doing inline style here. But I just want to iterate again, recommended that you generally don't do inline styling. Make sure that you have a separate CSS file with the CSS in there. It's just for the sake of this video is easy for do in lines, I'm going to put background color. And for the background color, I'm going to put hash free you know, ie free F to save that refresh, and now we have a light style navbar so the text is black, and we have a different background color and that looks very good as well.
So changing the color schemes for your navbar is really simple. If you have any questions, feel free to post them on our education platform. So no learning Dakota UK for slash question dot php. There'll be a link in the description plus w another link in the description to the source code from this video. Please rate, comment and subscribe as it does really help us and unusual. Thank you for watching and I hope you have a great day.