I am new to programming and learning bootstrap through a course called One Month Rails. I want to remove the rounded corners on the inverse-navbar but am having a hard time. I have looked through both of the stackoverflow threads in the links below but still am having trouble.
Currently I have a file called "Bootstrap_and_customization.css.scss" and it has the following code:
$body-bg: #95a5a6; $border-radius: 0px; @import 'bootstrap';
However, the border radius is still rounded. I hope I've provided enough information but I might not have so please let me know.
Thanks
===== Links:
Getting rid of all the rounded corners in Twitter Bootstrap
https://stackoverflow.com/questions/20926522/flat-ui-round-corners-css-html
I will instead of modifying the css add the class: navbar-static-top
ie:
<nav class="navbar navbar-default navbar-static-top" role="navigation">
or the class navbar-fixed-top, if you want the menu to be fixed on the top(on large pages)
ie:
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With