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 8533863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:03:49+00:00 2026-06-11T10:03:49+00:00

I have a very similar problem as this Twitter bootstrap displays button with greyed

  • 0

I have a very similar problem as this
Twitter bootstrap displays button with greyed text
where I have a Twitter Bootstrap button btn-info with a drop down that after I clicked on a drop down item the text for the button is now grey and only shows as white when I hover over it. It never returns back to normal even if I stop the rails server and retart. If I go to a different browser(say I switch from Firefox to Chrome), the button’s text is white but then the problem re-appears as soon as I click on a drop down item.

I believe the problem didn’t start until after I ran a scaffold generator except I don’t have a Scaffold.css to delete as was suggested was the fix for Twitter bootstrap displays button with greyed text

Any ideas how to stop mysterious permanent gray color of text for button?

Here’s my button html

<span class="span3 btn-group">
    <a id="j_button" class="btn btn-info session_button dropdown-toggle" data-toggle="dropdown" href="#">
        Send to J location
        <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
        <li><a id='j_dropdown1' href="#">New issue</a></li>
        <li><a id='j_dropdown2' href="#">Add to existing</a></li>
    </ul>
</span>

with the only css that I added is

.session_button {
  font-size: 12px;
  font-weight: bold;
  padding-left: 8px;
  padding-right: 5px;
  padding-bottom: 0;
  padding-top: 0;
}
  • 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-11T10:03:50+00:00Added an answer on June 11, 2026 at 10:03 am

    It’s because you’re actually using a link.

    It only looks like a button because of the added class btn and btn-info which adds the twitter bootstrap styles. When you click on a link, the browser usually remembers that you already visited that link and shows you the visited state the next time you see it.

    You might also want to add css styles to the visited state of the link to change it from being gray.

    Assuming you want it to stay white, you can do so by adding the following:

    .session_button:visited { color:#FFF; }
    

    Also check out CSS selector for visited links.

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

Sidebar

Related Questions

I have a problem very similar to this one , but slightly more involved.
I'm new to java and I have a problem very similar to this.. suppress
I have a very similar problem to the one described in this question .
I have a problem very similar to the one mentioned in this question .
I have a problem very similar to this one : CATransaction Not Animating I'm
I have something very similar to this example: https://developers.google.com/maps/documentation/javascript/examples/directions-simple All I am trying to
I was looking at this post: https://stackoverflow.com/a/2262200 and I have a very similar setup
I know that this is a repeated question. I have found very similar questions
I am having a problem very similar to this question here: Can I use
I have a very similar problem as described here . I also upgraded a

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.