Support » Theme: The Bootstrap » [Theme: The Bootstrap] Can't style navbar-inner

  • Resolved Myxomatosis


    I’m trying to stylize my child theme. Can someone tell me what I’m doing wrong? Here’s my child’s style.css:

    Theme Name: child-bootstrap
    Description: Child Theme for the-bootstrap
    Template: the-bootstrap
    Version: 0.1
    @import url("../the-bootstrap/style.css");
    .navbar-inner {
      background-color: #fafafa;
      background-image: -moz-linear-gradient(top, #285e2b, #021c0f);
      background-image: -ms-linear-gradient(top, #285e2b, #021c0f);
      background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#285e2b), to(#021c0f));
      background-image: -webkit-linear-gradient(top, #285e2b, #021c0f);
      background-image: -o-linear-gradient(top, #285e2b, #021c0f);
      background-image: linear-gradient(top, #285e2b, #021c0f);

    From everything I’ve been able to find I’m doing it correctly… Your help is appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Good Guy


    What exactly are you doing and where is site for us to see.

    So far all I’m just trying to change the color of the navbar.

    I’m developing offline right now so I don’t have a link. I’m trying to learn WordPress and twitter bootstrap at the same time so when I run into a problem like this I don’t know where to start. I know that my child theme’s style.css should override(by appending) the style.css. And I know that to change the navbar’s color in twitter bootstrap to use the above code…but it doesn’t.

    Theme Author Konstantin Obenland


    The selector may not be specific enough if you have an inverted navbar.
    You could make it more specific by prepending an id selector for example.

    Thank you Konstantin,

    Adding the id solved my problem, although I feel like it’s a work around because now I have a header.php in my child theme so I won’t be getting any updates. Do you plan on adding an id to the navbar in your ‘adult’ theme?

    Theme Author Konstantin Obenland


    I’m sorry, I didn’t mean for you to add an id to the element, but rather use an id in the CSS to make the selector more specific. #access would be a good choice.
    I promise I won’t change it (soon)! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: The Bootstrap] Can't style navbar-inner’ is closed to new replies.