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

  • Home
  • SEARCH
  • 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 8960633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:42:11+00:00 2026-06-15T15:42:11+00:00

I am using twitter bootstrap and my own CSS to achieve something. What I

  • 0

I am using twitter bootstrap and my own CSS to achieve something.

What I want to do is, all the input fields like username, password & search, on selecting them, the border becomes blue, I want to change it to black.

Another thing is, I am using the navbar inverse. It has dropdowns. When I click the dropdown and hover over the list of elements, it is in blue color by default. I am trying to change that hover thing to black color too. How do I achieve this?

Now these are the things I’ve tried. I tried inspecting with the firebug element and it always shows something in the bootstrap.min file. However I can’t find anything related to hover there and I’m a bit weak when it comes to the transition things although I am not sure if it is related to transition. Another thing I did is, I I edited the value #08c to #000 from the variables.less file and compiled it and obtained a bootstrap file which contains the changed values but still the default color only shows.

Please help me achieve these effects.

Thank you!

  • 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-15T15:42:12+00:00Added an answer on June 15, 2026 at 3:42 pm

    First, I recommend not editing the bootstrap stylesheets unless you absolutely have to. A better practice is to override specific bootstrap classes in your own stylesheet (make sure your stylesheet is the last one loaded by the web page). Since you are using LESS, you could also import the bootstrap stylesheets into your own and load a single stylesheet using something like @import "path/to/bootstrap.min.css"

    For changing the color of the items in the dropdown menu, you would use an ‘element:hover’ as your css selector. In bootstrap, I believe it would look like this:

    .dropdown-menu > li > a:hover {
       /* styles */
    }
    

    Changing the color of the form “glow” is a bit more involved, since it isn’t actually a border. I recommend you check out the brief writeup about this effect here: http://www.scriptcult.com/subcategory_97/article_635-glow-on-focus-input-form-fields.html

    This jsfiddle demonstrates both overriding the default dropdown style, and the input glow discussed in the above article: http://jsfiddle.net/2UPan/3/

    I hope this helped!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using twitter bootstrap (TB) and it seems like their CSS Rules are
I'm using twitter bootstrap tabs and i want to load only the CSS needed
I am using twitter bootstrap and I would like a container div to stretch
I am using Twitter Bootstrap, (CSS and JS). The problem comes from the Modal
i'm using twitter bootstrap 2.0.4. i want to populate the dropdown using ajax. the
I am using Twitter bootstrap for the CSS of a page where I have
I am currently using twitter bootstrap, which is working nicely, but I would like
I am using Twitter bootstrap for developing Web pages,Now I want to integrate this
I am using Twitter Bootstrap to create form elements like below. Normally the 'submit'
Using twitter-bootstrap, how do I decorate my input tag with an icon? I've tried:

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.