The Ikias before a week
Leave a messageAsk, if where,the caption edge of MT adds advertisement, explain today, how am I done.
The method that I introduce, apply to MovableType4.0, if you use the version that is other, ask oneself proper modification.
This basically is to should revise two places, one is Header pattern plate, one is CSS file.
In Template Modules, open Header pattern plate, find the code below,
<div Id= "header-content" >
<MTIf Name= "main_index" >
<h1 Id= "header-name" ><a href= "<$MTBlogURL$>" accesskey= "1" ><$MTBlogName encode_html= "1" $></a></h1>
<h2 id= "header-description" ><$MTBlogDescription$></h2>
<MTElse>
<div Id= "header-name" ><a href= "<$MTBlogURL$>" accesskey= "1" ><$MTBlogName encode_html= "1" $></a></div>
<div id= "header-description" ><$MTBlogDescription$></div>
</MTIf>
</div>
Replace the code that is as follows,
<div Id= "header-content" >
<div Id= "header-left" >
<MTIf Name= "main_index" >
<h1 Id= "header-name" ><a href= "<$MTBlogURL$>" accesskey= "1" ><$MTBlogName encode_html= "1" $></a></h1>
<h2 id= "header-description" ><$MTBlogDescription$></h2>
<MTElse>
<div Id= "header-name" ><a href= "<$MTBlogURL$>" accesskey= "1" ><$MTBlogName encode_html= "1" $></a></div>
<div id= "header-description" ><$MTBlogDescription$></div>
</MTIf>
</div>
<div Id= "header-right" >
< ! - - the advertisement code that here puts you- - >
</div>
</div>
Write down, above put your advertisement code inside, my design is the Banner of 468X60, in coping I feel not to suit to put too big, it is good to put this kind to show ad.
The modification about CSS is below.
Tags: , 4.0, adds, advertisement, caption, edge, If, MT