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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:03:23+00:00 2026-05-26T19:03:23+00:00

Twitter Bootstrap is a cool stylesheet toolkit by Twitter based on LESS. I don’t

  • 0

Twitter Bootstrap is a cool stylesheet toolkit by Twitter based on LESS. I don’t use LESS however I am using the twitter-bootstrap-rails gem and it seems to be all working fine. However I am unable to figure out how to change the colors in the CSS, particularly the link color.

My further research seems to point that the gem only provides a pre-rendered CSS file with fixed colors declarations and not variables that could be changed in one place. I would love to be able to just change the colors by changing a variable like $linkColor = #00ff00

Does anyone have any idea as to how to do the color changes efficiently throughout the UI without using LESS?

I want to avoid using LESS since Rails 3.1 already uses SASS, but if anyone here thinks its not a big deal using both, I’m open to suggestions however.

Any help or suggestion will be much appreciated

  • 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-05-26T19:03:24+00:00Added an answer on May 26, 2026 at 7:03 pm

    I wrote a reasonably popular conversion of Bootstrap to SASS 1, 2, which allows you to define your own variables if you use a custom helper manifest, rather than the one included in the gem.

    As an example, in the head of application.css.scss:

    @import "bootstrap/reset";
    @import "bootstrap/variables";
    
    // overwrite variables here
    
    @import "bootstrap/mixins";
    
    @import "bootstrap/scaffolding";
    
    @import "bootstrap/type";
    @import "bootstrap/forms";
    @import "bootstrap/tables";
    @import "bootstrap/patterns";
    
    // rest of your manifest
    

    You can overwrite the supported variables before importing the rest of the bootstrap files, and these will also be accessible through the rest of your SCSS.

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

Sidebar

Related Questions

I am using the twitter bootstrap css toolkit for building master page for an
I added the twitter-bootstrap-rails gem and did bundle install. Then I went to do:
Twitter seems to be using an <i/> tag to display their icons from a
I'm using twitter bootstrap . I have a div with 25 px padding. I
I'm using twitter bootstrap for some web app I'm forced to do (I'm not
We are using twitter bootstrap to do some redesign of our site. The issue
I'm using the css styles from Twitter Bootstrap but I can't seem to align
I'm currently using popovers with Twitter Bootstrap, initiated like this: $('.popup-marker').popover({ html: true, trigger:
I'm trying to use Twitter Bootstrap Twipsy as a hovering tooltip with a link
Browsing through the 2.0-wip branch of Twitter Bootstrap, I found LESS have a nice

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.