Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8809701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:56:32+00:00 2026-06-14T02:56:32+00:00

In version 2.0.4 of Twitter Bootstrap I added a box shadow to my nav-bar

  • 0

In version 2.0.4 of Twitter Bootstrap I added a box shadow to my nav-bar and it worked great. (see the image below)

enter image description here

I recently upgraded to version 2.2.1 and tried doing the same but I fail to see the box shadow below my navbar. Here is my current style:

.navbar {
overflow: visible;
margin-bottom: 18px;
color: #fff;
*position: relative;
*z-index: 2;
}

.navbar-inner {

min-height: 40px;
padding-left: 20px;
padding-right: 20px;
background-color: #fafafa;

background-color: #fafafa;
background-image: -moz-linear-gradient(top, #4e8ece, #356aa0);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4e8ece), to(#356aa0));
background-image: -webkit-linear-gradient(top, #4e8ece, #356aa0);
background-image: -o-linear-gradient(top, #4e8ece, #356aa0);
background-image: linear-gradient(to bottom, #4e8ece, #356aa0);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#222222',GradientType=0 );

-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;

-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.065);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.065);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.065);
*zoom: 1;

}

Any ideas why the drop shadow isn’t appearing in 2.2.1?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:56:33+00:00Added an answer on June 14, 2026 at 2:56 am

    In the bug reported, the possible solution would be:

    .box-shadow(@shadow1, @shadow2) {
      -webkit-box-shadow: @shadow1, @shadow2;
         -moz-box-shadow: @shadow1, @shadow2;
              box-shadow: @shadow1, @shadow2;
    }
    .box-shadow(@shadow1, @shadow2, @shadow3) {
      -webkit-box-shadow: @shadow1, @shadow2, @shadow3;
         -moz-box-shadow: @shadow1, @shadow2, @shadow3;
              box-shadow: @shadow1, @shadow2, @shadow3;
    }
    

    And the latest version 2.1.2-WIP has this code:

    // Drop shadows
    .box-shadow(@shadow) {
      -webkit-box-shadow: @shadow;
         -moz-box-shadow: @shadow;
              box-shadow: @shadow;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Twitter Boostrap has been recently upgraded to version 2. Project description with examples available
Current version of Twiiter has a tab bar as shown below. When I select
On new version of twitter bootstrap, all the examples shows a sidebar fixin on
I am using the latest version of Twitter Bootstrap on a project. I have
Twitter Bootstrap Version: 2.0.3 Example HTML code: <!DOCTYPE html> <html dir=ltr lang=en-US xmlns:og=http://opengraphprotocol.org/schema/> <head>
Twitter Bootstrap Version: 2.0.3 Example HTML code: <!DOCTYPE html> <html dir=ltr lang=en-US xmlns:og=http://opengraphprotocol.org/schema/> <head>
I'm using Twitter's Bootstrap library, version 2.0.3 to prototype a website. I'm currently using
In the earlier version of Twitter Bootstrap their was a placeholder for the vertical
I have a nested dropdown list created using the latest version of Twitter BootStrap.
I am trying to install the new version of the twitter-bootstrap-rails gem (v2), but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.