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

XF 1.5 How to remove the bottom breadcrumb?

Discussion in 'Styling and Customization Questions' started by max_d, Jul 19, 2016.

  1. max_d

    max_d New Member

    I know it’s located some were in the PAGE_CONTAINER template, but I’m not sure what block of code I should comment out.

    Thank you.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
     
    max_d likes this.
  3. max_d

    max_d New Member

    Sorry to bug you again about this. What line of code should I edit out in order to hide the top breadcrumb?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Look near the beginning of the template for a line beginning <div class="breadBoxTop ">.
     
    max_d likes this.
  5. max_d

    max_d New Member

    Sorry, all I found was this:
    Code:
    <div class="breadBoxTop {xen:if $topctrl, withTopCtrl}">
    But when I commented it out, it broke my theme.

    The following code works for me, but for some reason the “Post New Thread” button located at the top seems to disappear.
    Code:
    <xen:comment>
                <xen:hook name="page_container_breadcrumb_top">
                 <div class="breadBoxTop {xen:if $topctrl, withTopCtrl}">
                   <xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
                   <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
                 </div>
                 </xen:hook>
    </xen:comment>
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Ah yes, the top breadcrumb has some other stuff included.
    Try this in EXTRA.css instead:
    Code:
    .breadcrumb
    {
        display: none;
    }
    Otherwise you can likely just remove
    <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
     
    max_d likes this.

Share This Page