Page 1 of 1

Website Exhibition

Posted: Mon Jul 18, 2011 1:23 pm
by Brandt
Website http://www.expopersingen.nl build with the following modules:

Babel multilangual site
Gallery
Guestbook

Simple website with four artist. The artist can change their own background image and color to fit the background colour.

This is used in the template for the header color:
<div id="centertitleheader">
<h1 style="background-color:#{content block="Personal color" oneline="true" wysiwyg="false"} ;">{title}</h1>
</div>


This is used in the template for the background-image:
<div class="backimage">{content_image block='Background image' dir='images'}</div>

.backimage {
z-index:-1;
position:fixed;
top:-50%;
left:-50%;
width:200%;
height:200%;
}
.backimage img {
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
margin:auto;
min-width:50%;
min-height:50%;
}


I hope this is helpfull.