Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Hi again,

I have a question for you..
Is it possible to change image background of website with couchcms?

thanks before

regards

bagus
If you wanted to apply it to a single element, you code do so like this:
Code: Select all
<div style="background-image: url(<cms:show bg_picture />)"></div>

If you wanted to apply it with a selector, place this in the head:
Code: Select all
<style type="text/css">
body {
    background-image: url(<cms:show bg_picture />)
}
</style>
Ok...thankyou for the explanation..

if i want to make editable background..i must put the code to all single page? right? or there's a way to make it simple? is there any tutorial about it for me? :)

i will appreciate it...

thankyou very much..

bagus
If you do not want an editable region to be available on all of your cloned pages, then you need to place that editable region in a different non-clonable template. Look for the "Global values" section at http://www.couchcms.com/docs/tutorials/portfolio-site/tying-the-loose-ends.html
4 posts Page 1 of 1