This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

font-face , font-family 404

This is for discussion, mainly on 1.x but there's some 2.x topics here too.

font-face , font-family 404

by kironet » Sun Feb 01, 2015 3:00 pm


I have css files with this piece of code:
Code: Select all
@font-face {
  font-family: 'social-icons';
  src: url("../../fonts/social-icons.eot?28036741");
  src: url("../../fonts/social-icons.eot?28036741#iefix") format('embedded-opentype'), url("../../fonts/social-icons.woff?28036741") format('woff'), url("../../fonts/social-icons.ttf?28036741") format('truetype'), url("../../fonts/social-icons.svg?28036741#social-icons") format('svg');
  font-weight: normal;
  font-style: normal;

The peoblem is that the symfony don't see the fonts folder.

web -> bundles -> public -> fonts

This is working ok:

Code: Select all
{% stylesheets
filter='?yui_css' %}
<link rel='stylesheet' href="{{ asset_url }}">
{% endstylesheets %}

I using Windows and deploy project to linux web hosting. Hosting doesn't support symlink.

Can you help me please?

Thanks :)
Junior Member
Posts: 2
Joined: Sun Feb 01, 2015 2:49 pm