C
C
crwbr2015-11-03 21:41:15
css
crwbr, 2015-11-03 21:41:15

The background image is not set, what should I do?

I'm editing the Joomla template, I created a diff block, I gave it dimensions and I can't put a background image, it just doesn't appear, but the background color changes. Also, the image is not added via the HTML img tag, the browser sees it, but it is simply not detected
. What should I do? Has anyone had a similar situation?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2015-11-03
@crwbr

Most likely the path to the image is not correct. Try an absolute path.
background-image: url(' sitename.ru/..../images/..../a.png ');

S
swcalc, 2015-11-04
@swcalc

Does the file open on the server/hosting from under the browser directly?
Perhaps the hoster does not drag?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question