![]() |
|
Background-image styling - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Background-image styling (/thread-9400.html) |
Background-image styling - axis - 2011-12-19 I am using default zenphoto template altering the dark.css. in the theme folder Cannot seem to style body or others tags with background img url in style sheet. Allways stays white . I have checked with firebug but nothing seems out of place. I can style in-line at tags so I know my paths are correct. I would post the url for you guys but I am doing the design locally with Wamp server. I really like the functionality Zenphoto seems to have and I am looking forward to gaining some experience with it. Background-image styling - fretzl - 2011-12-19 You mean you use the same paths inline as in the dark.css file ? If you use relative paths, the inline style would look something like this: Background-image styling - axis - 2011-12-19 Sorry I should have clarified that in the original post. Background-image styling - axis - 2011-12-19 Found the solution to the problem with body deceleration. Since I was using a 100px x 100px png for the background the repeat deceleration needed to be included as well as the positioning in order to render. I assumed that this was by default unless an x or y needed to be declared. The repeat declaration added by itself still did not render until the position was added also. ex: thank you freztl for the reply |