Center or remove - Forum Title & Thread Tilte [Deleted]

Adam Howard

Well-known member
Adam Howard submitted a new resource:

Center or remove - Forum Title & Thread Tilte (version 1.0) - center the title

Another import from my vBulletin template :)

This small modification will allow you to either center or removed XenForo's default forum title & thread message titles.

To center:


Look for
<div class="titleBar">
Change to

<div style="text-align:center" class="titleBar">

~ ~ ~ ~
Read more about this resource...

Adam Howard

Well-known member
nice.. but I think you are forgetting to comment out the close </div> tag.
Not exactly.... The full code is thus

 <div class="titleBar">
{xen:raw $beforeH1}
is="{$h1}">{xen:raw $h1}<xen:elseif
is="{$title}" />{xen:raw $title}<xen:else
<xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if>
You really need to only change that 1st line. If you edit the rest, you change a lot more.

I didn't feel the need to include everything else.