Quantcast
Channel: Twitter bootstrap override `a` in `navbar` - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by spankr for Twitter bootstrap override `a` in `navbar`

You may add a class my-padding to your element and use the following in your app.css which you link to your html after bootstrap.css.navbar-nav > li > .my-padding { padding: 5px 5px 5px;}

View Article



Answer by Jack for Twitter bootstrap override `a` in `navbar`

To 'override' a style we need a more specific rule. The accepted answer uses the !important rule, which should be a last resort. As is often the case with CSS, we have a plethora of options available...

View Article

Answer by Ryan for Twitter bootstrap override `a` in `navbar`

And there is the problem with using bootstrap, its nice until you have to modify it. I found your particular rule by going into bootstrap.css and searching for ".navbar .nav" (I also use bootstrap in a...

View Article

Twitter bootstrap override `a` in `navbar`

How to ovveride padding on a in navbarI got the following as css rules for.navbar .nav > li > a { float: none; padding: 10px 15px 10px; color: #555555; text-decoration: none; text-shadow: 0 1px 0...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>