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

XF 1.2 Banner in header

Stemis

Formerly Sasa
#4
In template ad_header. Use TM because upgrade XF may delete/revert template. Insert code after
Code:
<xen:hook name="ad_header" />
 

Brogan

XenForo moderator
Staff member
#5
Ad templates are never touched.
There is no need to use a template modification, just edit the template directly.
 

Stemis

Formerly Sasa
#7
Did you insert this code?
Code:
<div style="display: block; float: right; line-height: {xen:calc '@headerLogoHeight - 4'}px; *line-height: @headerLogoHeight; height: @headerLogoHeight; vertical-align: middle">
    Image or advert code
</div>