Hello,
okay, but my english is not very well
Create a folder in the directory "/wcf/images/your-folder-name" - I took the name advertisement-banners.
Template
Create a new template with the title "advertisementBox" and this content:
|
Template source code
|
1
2
3
4
5
|
<div id="advertisementBox">
<div class="banner">
<a href="#"><img src="{@RELATIVE_WCF_DIR}images/advertisement-bannersr/bannername.png" alt="Advertisement" /></a>
</div>
</div>
|
CSS:
Put this code into your CSS-Declerations:
|
Cascading style sheet
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#advertisementBox {
width: 500px; /* Customize value */
height: 100px; /* Customize value */
background: #ccc;
border: 1px solid #09f;
position: relative;
float: right;
z-index: 90;
margin-top: 100px; /* Customize value */
}
#advertisementBox img {
width: 468px; /* Customize value */
height: 68px; /* Customize value */
}
|
Template edit:
Edit the template header and search for:
|
Template source code
|
1
|
{* user messages system*}
|
And add below it:
|
Template source code
|
1
|
{include file=advertisementBox}
|
P.S. I hope, you understand it.