Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Breadcrumb seperator dissapears?

MdrnVprMdrnVpr New
edited September 2014 in Vanilla 2.0 - 2.8

Hi there, im using the Bootstrap theme and im having this problem:

This is how the homepage has breadcrumbs: http://i.imgur.com/Ivp7ZFu.png and then when you click on a category: http://i.imgur.com/UsUWGxy.png

Why is the "/" dissapearing? It looks terrible without. :neutral_face:

Comments

  • peregrineperegrine MVP
    edited September 2014


    try this in your custom.css it uses the standard separators.

    .Breadcrumbs .Crumb {
        display: inline-block;
    }
    
    .Breadcrumbs .CrumbLabel:before {
       content: none;
    }
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • This works :smile:, but its kinda ugly in my theme. Anyway to set the default seperator?

  • peregrineperegrine MVP
    edited September 2014

    change it to whatever you like. you are in control of the ugliness of your site :) . hope it is enlightening to you.

    e.g. in conf/locale.php

    <?php if (!defined('APPLICATION')) exit();
    $Definition['Breadcrumbs Crumb'] = "- not-ugly- ";
    

    or if you want a slash

    <?php if (!defined('APPLICATION')) exit();
    $Definition['Breadcrumbs Crumb'] = "/";
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited September 2014

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • bdchristbdchrist New
    edited September 2014

    I had that same problem but heres is the fix:

    go to Library -> core -> class.theme.php

    Search "Crumb"

    You will see a ton of "BreadCrumb" but only one plain "Crumb", that is a development error (I think?), change it to BreadCrumb

    Now you will see it works but looks like Home /> Page.

    Delete the > after the thing you just changed BUT keep the ''. So from '>' to ''.

    Yea so someone should change that in the vanilla download...

  • @bdchrist‌

    That will only happen if someone reports it on GitHub...

Sign In or Register to comment.