Answer the question
In order to leave comments, you need to log in
Set image as background in CMS Made Simple?
I started implementing the template in CMS Made Simple.
Did according to the manual .
Unfortunately, the point-blank image does not want to appear on the page, although the correct URL is given in the code before it.
Answer the question
In order to leave comments, you need to log in
Solution: Use background:url
()
instead of background-image:url ()
Tried both options.
In the page code, it shows the normal path to the image, but it is not displayed.
Tried to manually enter the url, still does not show.
Somewhere even googled this option
/images/
background-image:url([[$my_path]]background.jpg)
Now in style:
background-image:url([[root_url]]/uploads/images/background.jpg) no-repeat center center fixed;
background-image:url(http://test.lan/uploads/images/background.jpg) no-repeat center center fixed;
For the sake of self-education, can anyone explain the fundamental difference between background-image:url () and background:url () ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question