Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm on Umbraco 7.6.7 I have over 30 image assets that will be referenced as background images to help "theme" the site.
Does anyone have any good practices on
Thanks for any tips!
Hi blackhawk,
I would usually create an assets directory in the root of the project, structured like this:
assets
assets - css - style.css - images - image.png - js - scripts.js
In your stylesheet, you can then just reference the image using ../images/images.png
../images/images.png
That's exactly what I tested out and everything still works with the site.
Thank you very much!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Best practices on referencing images in a style sheet
I'm on Umbraco 7.6.7 I have over 30 image assets that will be referenced as background images to help "theme" the site.
Does anyone have any good practices on
Thanks for any tips!
Hi blackhawk,
I would usually create an
assets
directory in the root of the project, structured like this:In your stylesheet, you can then just reference the image using
../images/images.png
That's exactly what I tested out and everything still works with the site.
Thank you very much!
is working on a reply...