Ruby on Rails Bootstrap Glyphicons not working

后端 未结 17 2030
Happy的楠姐
Happy的楠姐 2020-12-02 07:43

I have added bootstrap to my site. Here is the structure I am using. (I cannot whatsoever remove the bootstrap.css file since it I modified it to my liking).



        
17条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 08:32

    When i use bootstrap in my rails apps i use the bootstrap-sass gem.

    https://github.com/thomas-mcdonald/bootstrap-sass

    You can override it. Simply import it as the docs explain. Then Import or paste your modified files.

    In a php project, the glyph weren't working, i download the classic bootstrap zip and i extracted the glyph files to replace them in the project. In my memories the bug appears when you generate a custom bootstrap style from their site (the source of the bug can be wrong).

    Hope this helps!

提交回复
热议问题