I am using amazon s3.
My glyphicons don’t show up.
I added the following to my head
<style>
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-top: 1px;
*margin-right: .3em;
line-height: 14px;
vertical-align: text-top;
background-image: url("https://s3.amazonaws.com/BUCKET/img/glyphicons-halflings.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}
</style>
I thought it would overwrite the old path, but I still can not see the glyphicons.
Any ideas?
I have the same issue – and have narrowed it down to the
.cssusing the production CDN instead of TEST.On heroku I have
RAILS_ENVandRACK_ENVset to test however it still compiles the CSS with the Production CDN.Other assets show the correct CDN, Prod CDN seems to be used due to folowing: