twitter-bootstrap-rails icon indicating copy to clipboard operation
twitter-bootstrap-rails copied to clipboard

Some Awesome Font elements are not shown

Open barcala opened this issue 9 years ago • 7 comments

I'm developing an application with rails 4.2.0 and twitter-bootstrap-rails 3.2.0. When I put in my layout.html.erb something like:

  <%= menu_group do %>
    <%= menu_item root_path do %>
        <i class="icon fa fa-home fa-fw"></i> <%=t('links.home')%>
    <% end %>
    <%= menu_item data_path do %>
        <i class="icon fa fa-th fa-fw"></i> <%=t('links.data')%>
    <% end %>
    [...]

Awesome "characters" fa-home and fa-th are shown normally, but if I replace them with bar-chart or line-chart these awesome elements are not shown.

My bootstrap_and_overrides.css.less content is:

@import "twitter/bootstrap/bootstrap";

// Set the correct sprite paths
@iconSpritePath: image-url("twitter/bootstrap/glyphicons-halflings.png");
@iconWhiteSpritePath: image-url("twitter/bootstrap/glyphicons-halflings-white.png");

// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
@fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
@fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
@fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
@fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
@fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");

// Font Awesome
@import "fontawesome/font-awesome";

// Glyphicons
//@import "twitter/bootstrap/glyphicons.less";

// Your custom LESS stylesheets goes here
//
// Since bootstrap was imported above you have access to its mixins which
// you may use and inherit here
//
// If you'd like to override bootstrap's own variables, you can do so here as well
// See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
//
// Example:
// @link-color: #ff0000;

@navbar-height: 40px;

Any hint about what could be wrong?

Thank you.

barcala avatar Feb 17 '15 16:02 barcala

same problem here

dzmitrys-dev avatar Mar 12 '15 19:03 dzmitrys-dev

I also got the same issue. Andy have got any solution!

manish-shrivastava avatar Mar 16 '15 11:03 manish-shrivastava

+1

descovi avatar Mar 26 '15 09:03 descovi

More than three months with this problem opened. Any hint about how to solve it? How can I start to debug and try to solve this issue?

barcala avatar May 21 '15 08:05 barcala

bump...same issue with bar-chart and line-chart

dstull avatar Jul 30 '15 19:07 dstull

I have exactly the same problem. Can't show fa-ils.

pelegm avatar Aug 11 '15 11:08 pelegm

I can't see fa-heartbeat.

malissa avatar Sep 18 '15 16:09 malissa