Forum

Css styles lost images

20 July 2016 21:14
I think I have found an issue in the compilation of the css stylesheets. When you have an image defined as:
background: url(../../deploy/assets/guitar_presentation/background.jpg) 50% 50% no-repeat;

When you compile the project it gets lost and in the debug you find:
GET 
http://localhost:6687/deploy/deploy/assets/guitar_presentation/background.jpg

with the deploy repeated.
It must not be a very difficult problem to address I think. There is also an easy trick: change the css url and setting it without the initial deploy, then the image loads without a problem.
Keep on the good work
21 July 2016 17:32
Yes, I'd recommend to place your images used in your CSS inside your project development directory. The rule of thumb is to place everything related to your app in this folder. Anyway, thanks for the feedback!
The Founder | Twitter | Facebook | Linkedin
22 July 2016 10:52
Ok, that worked.

Thank you
 
Please register or log in to leave a reply.