seog Posted April 16, 2013 Share Posted April 16, 2013 I´m adapting my images in sprites and if I put route in global.css background:url('../img/imagename.jpg') this work perfect but I need write route in .css of a module directed to: mywebsite.com/img dir. This problem occurs: if I write background:url('../img/imagename.jpg') in .css of a module then prestashop transform url in www.mywebsite.com/modules/modulename/../img/imagename.jpg Also if I write the route directly in css module background:url('www.mywebsite.com/img/imagename.jpg') also adds before the code www.mywebsite.com/modules/modulename/ and link image don´t work I tried with relative routes but it don´t work Anyone know how to put the image route to (website/img) in the .css of a module without prestashop add automatically code in url? Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now