Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think you might be having a problem with the <a href="http://guides.rubyonrails.org/asset_pipeline.html" rel="nofollow noreferrer">asset pipeline</a></p> <p>You want to change <code>bootstrap.css</code> to <code>bootstrap.css.scss</code> and then replace where it uses</p> <pre><code>@font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } </code></pre> <p>with <a href="http://guides.rubyonrails.org/asset_pipeline.html#coding-links-to-assets" rel="nofollow noreferrer"><code>font-path</code></a> (look at section 2.3.2 - CSS and Sass)</p> <pre><code>@font-face { font-family: 'Glyphicons Halflings'; src: font-path('glyphicons-halflings-regular.eot'); src: font-path('glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), font-path('glyphicons-halflings-regular.woff') format('woff'), font-path('glyphicons-halflings-regular.ttf') format('truetype'), font-path('glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } </code></pre> <p>Also in your <code>config/environments/production.rb</code></p> <pre><code># Precompile additional assets config.assets.precompile += %w( .svg .eot .woff .ttf ) </code></pre> <p>In your <code>config/application.rb</code></p> <pre><code># Add the fonts path config.assets.paths &lt;&lt; Rails.root.join('app', 'assets', 'fonts') </code></pre> <p>Check out another <a href="https://stackoverflow.com/questions/19313287/font-face-at-rails-4-0-with-sass-url-not-found-for-custom-fonts">SO post</a> for a similar problem</p> <p>Hope this helps</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload