I'm a newbie to both php and symfony. I have been using successfully the following syntax for including css and scripts to my page:
<link rel="stylesheet" type="text/css" href="{{ asset('css/bootstrap.css') }}">
Now, I have a css that refers to an image
.menu{
background: url(../img/mobile.png) no-repeat center;
}
The image is not found. I think this is because I cannot use the asset()
syntax here.
How can I solve this problem ?