How to use background image in twitter boostrap navbar?

I came across the fact that I successfully set up the twitter bootstrap color navigation style. Now I want to use the image as the navbar background, so I could play more with the navigation bar.

But when I put css "background: url (/img/navbar-bg.png) repeat-x;" in navbar-inner .. it doesn't work, does anyone know why?

+4
source share
1 answer

if you do it like that, it should work.

.navbar-inner{ background-image: url('navbar-bg.png'); background-repeat: repeat-x; } 

Demo: here

+11
source

All Articles