Background image linking from the css/ folder instead of the img/ folder


#1

Having an issue trying to add a background image to my app. It links like so when viewed from the console:

http://localhost:8100/css/ibg.jpg 404 (Not Found)’

How do i get this fixed, pls.


#2

just set the correct path.

this might be in your css:

.className {background-image:'ibg.jpg';}

make it:

.className {background-image:'../img/ibg.jpg';}

#3

try this ‘http://localhost:8100/www/css/ibg.jpg

But handle background in ionic content in css file