Can't get leaderboard above titles

Jeff Fuqua

Well-known member
I'm having a small problem placing an ad where I'd like it to be.

On both the thread_view and forum_view, I wish to place this leaderboard ABOVE the title. So I open up the templates and place my include above the title at the top of the template. But, for whatever reason, it always appears below the description.

Any ideas? Thanks.
 
There is a container var you can set called $beforeH1. See this post:

http://xenforo.com/community/threads/new-thread-title-header.24294/#post-298150

You can see the usage in the PAGE_CONTAINER template:

Rich (BB code):
						<xen:hook name="page_container_content_title_bar">
						<xen:if is="!{$noH1}">						
							<!-- h1 title, description -->
							<div class="titleBar">
								{xen:raw $beforeH1}
								<h1><xen:if
									is="{$h1}">{xen:raw $h1}<xen:elseif
									is="{$title}" />{xen:raw $title}<xen:else
									/>{$xenOptions.boardTitle}</xen:if></h1>
								
								<xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if>
							</div>
						</xen:if>
						</xen:hook>
 
Top Bottom