Problem with template's background...

post everything related to phpwcms templates here
Post Reply
huntertx
Posts: 3
Joined: Mon 24. Oct 2011, 10:27

Problem with template's background...

Post by huntertx »

Like in Subject. I want to obtain custom image in background but i dont know which link url should i add. When i'm editing my template in main content i put the code: <div style="background-image: url(.../img/pasek na góre.jpg);height: 200px; width: 200px; border: 1px solid black;"> </div>

"img" folder is in main folder where phpwcms is installed... i tried everyting and nothing works ( images from web with full url works great)
User avatar
top
Posts: 535
Joined: Fri 11. Aug 2006, 15:03
Location: Eutin

Re: Problem with template's background...

Post by top »

Avoid special chars like ó and spaces in file-names.

And try "../../" instead ".../" in the path.

Code: Select all

url(../../img/pasek_na-gore.jpg)
huntertx
Posts: 3
Joined: Mon 24. Oct 2011, 10:27

Re: Problem with template's background...

Post by huntertx »

Great Answer !!! :) you're awesome. Thanx :)
Post Reply