When i use EE's internal CSS template, the css works fine.
But i have decided to take the css and javascripts out of ee templates and keep them in their own separate folders at the root of EE installation.
Here is my structure:
root
- assets
- scripts
- styles
- images
- system
- themes
- assets
This is the code in my index.html header area
(1st Try)
<link rel="stylesheet" href="{path='assets/styles/style.css'}" media="all" />
<link rel="stylesheet" href="{path='assets/styles/color.css'}" media="all" />
(2nd Try)
<link rel="stylesheet" href="{site_url}assets/styles/inner.css" />
<link rel="stylesheet" href="{site_url}assets/styles/flexslider.css" />
Here are the
#selector{ background:url({site_url}images/front/top-pattern.png);}
Note:
The css files are loaded correctly in HTML but the images are not loaded.
I checked with firbug and it says
Failed to load the given URL
The issue is with the image path inside the css files.
I cant figure out what am i missing ?