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

Need help - BoardTitle

Discussion in 'Styling and Customization Questions' started by Anh3Hung, Oct 2, 2013.

  1. Anh3Hung

    Anh3Hung New Member

    Hi every one,

    Please show me how to hide the BoardTitle and the Top Breadcrumb in the Homepage (just home page).

    thanks in advanced.
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Edit forum_view template and remove the xen:h1 tag.
  3. Anh3Hung

    Anh3Hung New Member

    just hide not remove, i mean the page still has a boardtitle, by the way how to remove the breadcrumb in any page that you want?
  4. Amaury

    Amaury Well-Known Member

    Same thing, really.
  5. Nobita.Kun

    Nobita.Kun Well-Known Member

    Add this css to EXTRA.css if you want to hide
    .forum_list .titleBar h1 { display: none; }
  6. Amaury

    Amaury Well-Known Member

    Or just comment out the code in the appropriate template with <xen:comment>code here</xen:comment>.
  7. Nobita.Kun

    Nobita.Kun Well-Known Member

    Nope. I think that is remove ;)
  8. melbo

    melbo Well-Known Member

    Could removing the h1 attribute have a negative effect on SEO?
  9. Amaury

    Amaury Well-Known Member

    I said comment out, not remove.
  10. Nobita.Kun

    Nobita.Kun Well-Known Member

    If using my post
    that not effect on SEO. Just only using css to hidden boardTitle :)
  11. Nobita.Kun

    Nobita.Kun Well-Known Member

  12. Amaury

    Amaury Well-Known Member

  13. tyteen4a03

    tyteen4a03 Well-Known Member

    Adding display: none; will cause the HTML to still be sent to the user. It will look "removed" on their side but they will still be able to see the HTML.

    Adding <xen:comment> will cause the HTML to be not sent to the user at all.
    Chris D likes this.
  14. Brogan

    Brogan XenForo Moderator Staff Member

    From the FAQ:

    How can I remove the title from the forum home page?
    Add one of the following to the EXTRA.css template:
    .forum_list .titleBar {
    display: none;
    .forum_list .titleBar h1 {
    font-size: 0px;
    Note that this may have an impact on SEO. Refer to the discussion thread in the forum for more information.


    How do I comment in a template to remove existing code or add notes?
        This content is commented out
    Note that using <xen:comment> will prevent the content from being output (rendered) altogether, so it won't show even when viewing the page source.

    Adam Howard, Amaury and Jeremy like this.
  15. Anh3Hung

    Anh3Hung New Member

    great, it really works, thanks all for helping :)
    Adam Howard likes this.

Share This Page