Heroku Bootstrap Navbar Not Rendering
So... I have a rails app where I am using a bootstrap navbar. It all works locally on my machine but after pushing to Heroku it renders everything accept the navbar. Take a look at
Solution 1:
Please try this to solve the problem (add the <link>
elements to your <head>
):
<head><!-- Bootstrap first --><linkrel="stylesheet"media="all"href="/assets/base/bootstrap.css"type="text/css"><!-- Your extra styling --><linkrel="stylesheet"media="all"href="/assets/application-52c2922bf3888faae91327ac966f10f93474a159ef20a14180eb9bd164ed87cf.css"data-turbolinks-track="true" /></head>
Your linking to bootstrap.css
didn't work, because <link <href='/assets/base/bootstrap.css'
is no valid code, see the <
before href
.
Post a Comment for "Heroku Bootstrap Navbar Not Rendering"