xenForo Title

Status
This content is read-only, or is not open for further replies.

Itworx4me

Guest
offline
I have this piece of code that works but I don't think its the right way to do it.
Code:

Code:
<xf:if is="$xf.options.myOption != '1'">
    <xf:title>{{ phrase('title') }}</xf:title>
    <xf:else />
    <xf:title></xf:title>
</xf:if>

If I take the else statement out it will replace the title with the board title. Just magically appears even though its not in my code. I have tried this code:
Code:

Code:
.p-title h1
{
    visibility: hidden;
}

But it removes both title's. Is there a better way to...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom