Table of contents
No headers

To insert advertising on your wiki:

1.  Open your wiki and select Tools->Control Panel (administrator access is required).


./Image1.JPG
Figure 1

2.  Select Visual Appearance.


./Image2.JPG
Figure 2 

 

3. Depending upon the skin you have chosen you may have to modify the skin CSS code to provide a margin at the top to provide a clear space to display the Google AdSense ad.  In the Fiesta skins you will need to change the top margin of the body section. In the Override Template CSS section of the Visual Appearance screen enter the following:

html body div.body div.siteNav {
	margin-top: 65px;
}

Note: This will leave a 65 pixel margin at the top of the body header to display the ad.  This is necessary for the Fiesta skins.  You will also need to change the end of the first line in Step 4 (float:left;margin-left:160px;") in order to center the ad in the body header.


4.  Scroll down to Customize Site HTML and insert your Google AdSense code with a div prefix.  The ad you insert should be limited to a height of 60 px; otherwise it will skew the top header.
<div style="width:468px;height:60px;float:left;margin-left:160px;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxxxxxxx"
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

NOTE:  If you are not already registered for Google AdSense, you can sign up here.

 

5.  Save the changes by clicking Customize Site HTML.  You should now see advertising appear at the top of your pages.

./Image3.JPG
Figure 3

./Image3.JPG
Deki Wiki Fiesta with Google AdSense

Tag page
You must login to post a comment.