Hi there! I'm a Ruby on Rails developer with three years of experience in building web applications. I'm currently working at Vendo, where I enjoy tackling challenging projects and collaborating with
I have created a layout file as _navigation.html.erb in which I have my navigation bar code . I want to add background color to my nav bar for that I am using $navbar-default-bg:red; in bootstrap.scss file but nothing is happening why?
I have created a layout file as _navigation.html.erb in which I have my navigation bar code . I want to add background color to my nav bar for that I am using $navbar-default-bg:red; in bootstrap.scss file but nothing is happening why?
I don't think that variable will do anything just by declaring it.
You can use:
For your red, maybe you can try:
You can always add your own class and then add it the navbar
Based on the given documentation here:
getbootstrap.com/docs/4.0/componen...