We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 45739
    • 64 Posts
    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
      • 28042 ☆ 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.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org