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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:03:56+00:00 2026-06-03T04:03:56+00:00

hello im having trouble overriding bootstraps framework when it goes into a production server.

  • 0

hello im having trouble overriding bootstraps framework when it goes into a production server. on my local machine im able to override it but by putting it on heroku, it reverts back to twitters bootstrap rules.

for example, ive been trying to override

<%= text_field_tag :search, params[:search], :class => "input-medium search-query" %>

i have a custom.css.scss file in my stylesheets folder, which then gets compiled from my application.css because i do a …

*= require_self
*= require_tree .

on my custom.css.scss, i did

@import "bootstrap";

on the top. im able to override the length of input bar two different ways.

i could override the input-medium class by having

.input-medium{ width:300px !important }

or add a class to it such as .expand

.expand{ width:300px !important; }

the form would then look like

<%= text_field_tag :search, params[:search], :class => "input-medium search-query expand" %>

unfortunately these changes only appear on my local machine. when i push to heroku, it seems like it reverts back to twitters rules. can anyone help please?

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-03T04:03:58+00:00Added an answer on June 3, 2026 at 4:03 am

    Make sure you’re re-compiling your assets every time you push to Heroku after you’ve made a change in your CSS or JS. Try doing this:

    RAILS_ENV=production rake assets:precompile

    After that’s done, push to GitHub (or whatever), and then push to Heroku. Your changes should then be visible.

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

Sidebar

Related Questions

I am trying to learn node.js, but I'm having trouble getting the simple server
Hello i am having trouble with passing a php return value to the innerHTML
Hello I have been having trouble with this for a while now. I have
hello i am having same issue, i tried your solution but it didnt help
Hello I am having trouble using multiquery in facebook .net. I am trying to
I am having trouble creating an Ant build script for our production apps. I
I am having trouble trying to connect to a secure OpenLDAP server which I
Hello I'm 17 and trying to learn how to code. I am having trouble
I'm new to Android development, and I'm having trouble with a simple Hello World
Hello good people of Stack Overflow, I am having trouble with an application I

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.