Resource icon

Centering thread title (and thread author & date info).

ShikiSuen

Well-known member
ShikiSuen submitted a new resource:

Centering thread title (and thread author & date info). - Only affecting the showthread pages, this mod centersthe thread title in the page header.

[Step 1] Modify the beginning part of the "thread_view" template:

Replace <xf:h1>{{ prefix('thread', $thread) }}{$thread.title}</xf:h1> with <xf:h1>{$thread.title}</xf:h1>

Add <span>{{ prefix('thread', $thread) }}</span> between <xf:description meta="false"> and <ul class="listInline listInline--bullet">.

This makes the first 5 lines of the "thread_view" template look like:
XML:
<xf:title page="{$page}">{{...

Read more about this resource...
 

ShikiSuen

Well-known member
Oh, bloodyhell, I don't know how it behaves with tags.
I never use tags in XF, but I am afraid of its possible appearance (shag it, unless this really pains for some people):
1588666665577.png
 
Top