Hey Guys
I’m quite new to Modx. I have done sites before using evolution, but I’m now trying to do everything in revo.
In evo I used to create a css file as follows: assets/templates/templatename/styles/style.css
I would also create an images folder as follows: assets/templates/templatename/images/image.jpeg. This image file would contain background images that were linked in the .css. Any background images within the .css file would (for example) be linked as follows:- background: url(../images/topbg1.gif)
I tried to do the same in revo, but the background image wouldn’t display. The image exists though as the browser displays the image when I type in the path to the image in the address bar, eg:
http://www.site.com/assets/templates/styleimages/image.gif
I worked round this problem by changing the image path within the .css file to the full url, eg: url(
http://www.site.com/assets/templates/styleimages/image.gif
I’m obviously doing something wrong. Anyone able to help...thanks.