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

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

Discussion in 'Template Modifications' started by Adam Howard, Nov 11, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard submitted a new resource:

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

    Read more about this resource...
     
  2. tafreehm

    tafreehm Well-Known Member

    nice.. but I think you are forgetting to comment out the close </div> tag.
     
  3. Adam Howard

    Adam Howard Well-Known Member

    Not exactly.... The full code is thus

    PHP:
     <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>
    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.
     
  4. Adam Howard

    Adam Howard Well-Known Member

    Disregard that 1st comment.... I was looking at it only as changing it to center.

    To remove it, you do need to format the rest. .... Sleep.... I need some. LoL

    Fixed.
     
  5. tafreehm

    tafreehm Well-Known Member

    lol thats ok... Another easy way to remove it could be this.

    Add following code to Extra.css
    Code:
    .forum_list .titleBar h1 { display: none;}
    Note: above will only remove it from index page.
     
    Frankenfurter and Adam Howard like this.
  6. Adam Howard

    Adam Howard Well-Known Member

    I've been over thinking things as of lately..... As opposed to under thinking things. :p
     
    tangduongtrieu and tafreehm like this.
  7. tafreehm

    tafreehm Well-Known Member

    lol all good.. btw, your forum is showing a white blank page.... ?
     
  8. Adam Howard

    Adam Howard Well-Known Member

    Flaw of XenForo... When you rebuild templates .... White page is all you see.

    Its one of the few things I dislike about XenForo styling
     
    tafreehm likes this.
  9. Kainzo

    Kainzo Active Member

    Anyway to just remove Forum Title and not Thread title?
     
  10. Adam Howard

    Adam Howard Well-Known Member

    Not that I could discover. They both seem to be using the same hook
     
  11. tafreehm

    tafreehm Well-Known Member

    check post number 5 :)
     
  12. Adam Howard

    Adam Howard Well-Known Member

    Didn't work for me, but I may have another tweak else where... so.....
     
  13. tafreehm

    tafreehm Well-Known Member

    it worked for me.... it removed forum title from index page only...
     
    Frankenfurter and Adam Howard like this.
  14. Adam Howard

    Adam Howard Well-Known Member

    I can confirm that.

    (Found the "tweak" that was preventing it on my end).
     
    tafreehm likes this.
  15. Adam Howard

    Adam Howard Well-Known Member

    Tested and works on XenForo 1.1.x and 1.2.x
     
  16. Adam Howard

    Adam Howard Well-Known Member

    This resource has been removed and is no longer available for download.
     
    SneakyDave likes this.

Share This Page