url function for css
-
I have a css for my site
background: #e5ddc8 url(http://fabioide.com/frederiksminde/wp-content/uploads/2014/10/fredshotel-headbgg.png) top left repeat-x; }I want to change the url to a more consistent code by using funtion because if ever I change my site location it will not detect the url since i change the url. what is the right url to get the wordpress link of the site to access the wp-content.
background: #e5ddc8 url(/wp-content/uploads/2014/10/fredshotel-headbgg.png) top left repeat-x; }I try to use this code but nothing happens the image doesn’t load.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘url function for css’ is closed to new replies.