Hi, I uploaded my site and then created a home template for the website, copying my index.html template; and the website loads fine and everything seems to work except for the CSS images, using the background-images: ../images path. The page and site works fine offline on my desktop but the thing that doesn't seem to be working on MODX is the ../images path.
Does anyone how to fix this? Any help is greatly appreciated. Thank you
-
☆ A M B ☆
- 24,524 Posts
Relative paths in a page will be relative to the MODX index.php file. In a .css file, they are relative to that .css file. So it all depends on where your .css file is, or even if you are using a CSS-type resource for your stylesheet.