• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Advertisment in the Header?


Well-known member
I was wondering if anyone could help me out with the coding to do this. I've tried multiple ways. I've even trying to do the same thing as the Flexile skin, but failed.


Well-known member
Would you share your new trinket of information with those of us who haven't figured it out yet? ;)
Sure! I wouldn't mind.

I took Flexile's idea (shown here) by using some of the CSS he wrote to do so. First thing I did is make a new template:

<div id="rightContentArea" class="pageWidth">
    <div id="rightContentBox">
        <xen:include template="Adsense_Header" />
Then I inserted it into the template:

<div id="header">
        <xen:include template="right_header" />
    <xen:include template="logo_block" />
    <xen:include template="navigation" />
    <xen:if is="{$canSearch}"><xen:include template="search_bar" /></xen:if>

From there, I took some of the CSS he wrote, but scaled it down to what I needed and put it in the EXTRA.css. That was the key. I tried making a new CSS file, but that failed. Here is the CSS I used:
#rightContentArea {
    position: relative;

#rightContentBox {
    position: absolute;
    right: 0;
    top: 30px;
    max-width: 468px;
Works perfectly!

*Now on to my next endeavor. Trying to figure out why the sidebar only shows up in Opera and not Firefox*