R
R
Roman Blinov2012-06-04 16:16:15
CMS
Roman Blinov, 2012-06-04 16:16:15

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

4 answer(s)
R
Roman Blinov, 2012-06-04
@Teenspirit

Solution: Use background:url
() instead of background-image:url ()

R
Roman Blinov, 2012-06-04
@Teenspirit

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/

and then
background-image:url([[$my_path]]background.jpg)

Still doesn't work

R
Roman Blinov, 2012-06-04
@Teenspirit

Now in style:

background-image:url([[root_url]]/uploads/images/background.jpg) no-repeat center center fixed;

The browser issues
background-image:url(http://test.lan/uploads/images/background.jpg) no-repeat center center fixed;

Image at this address exists but is not displayed

R
Roman Blinov, 2012-06-06
@Teenspirit

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 question

Ask a Question

731 491 924 answers to any question