• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Alternative Breadcrumbs for your vB4

Admin

Well-Known Member
Staff member
Administrator
> Open Template Group `CSS Templates` >> Open Template `additional.css

### ADD ###

Code:
.bread_box {        margin: 0;
        overflow: hidden;
        clear: both;
}
.breadcrumb {
        position: relative;
        font: 11px Arial,Calibri,Verdana,Geneva,sans-serif;
        background: {vb:stylevar sidebar_background};
        border: {vb:stylevar sidebar_border}; /* this is the border color that's around the whole thing */
        -moz-border-radius:{vb:stylevar border_radius};
        -webkit-border-radius: {vb:stylevar border_radius};
        border-radius: {vb:stylevar border_radius};
        overflow: hidden;
}
.breadcrumb .crust {
        display: block;
        float: left;
        position: relative;
}
.breadcrumb .crust:first-child a.crumb {
        padding-left: 13px;
        -moz-border-radius-topleft:{vb:stylevar border_radius};
        -moz-border-radius-bottomleft:{vb:stylevar border_radius};
        -webkit-border-top-left-radius: {vb:stylevar border_radius};
        -webkit-border-bottom-left-radius: {vb:stylevar border_radius};
        border-top-left-radius: {vb:stylevar border_radius};
        border-bottom-left-radius: {vb:stylevar border_radius};
}
.breadcrumb .crust a.crumb, .breadcrumb .crust b.lastcrumb {
        text-decoration: none;
        background-color: {vb:stylevar sidebar_background.backgroundColor}; /* this is the background color of the CRUMBS, ie: the links */
        padding: 0 10px 0 23px;
        border-bottom: {vb:stylevar sidebar_border}; /* this is the same as the border value higher up, this only shows if the last crumb causes it to overflow */
        margin-bottom: -1px;
        outline: 0 none;
        -moz-outline-style: 0 none;
        display: block;
        line-height: 22px;
        _border-bottom: none;
        color:{vb:stylevar link_color}; /* this is the color of the links in the crumbs */
        text-decoration:{vb:stylevar link_textDecoration};
}
.breadcrumb .crust b.lastcrumb {
        background: transparent none;
        color: {vb:stylevar footer_time_color}; /* this is the color of the last crumb, ie: the final destination */
        font-weight: bold;
}
.breadcrumb .crust a.crumb, .breadcrumb .crust b.lastcrumb {
        line-height: 22px;
}
.breadcrumb .crust .arrow {
        border: 12px solid transparent;
        border-right: 1px none black;
        border-left: {vb:stylevar sidebar_border}; /* this is the _background_ color of the "arrow" */
        border-left-width: 12px !important;
        border-left-style: solid !important;
        display: block;
        position: absolute;
        right: -12px;
        top: -1px;
        z-index: 50;
        width: 0px;
        height: 0px;
}
.breadcrumb .crust .arrow span {
        border: 12px solid transparent;
        border-right: 1px none black;
        border-left-color: {vb:stylevar sidebar_background.backgroundColor}; /* this is the border color of the "arrow" */
        display: block;
        position: absolute;
        left: -13px;
        top: -12px;
        z-index: 51;
        white-space: nowrap;
        overflow: hidden;
        text-indent: 9999px;
        width: 0px;
        height: 0px;
}
.breadcrumb .refresh:hover { background-position: 0px -16px; }
.breadcrumb .crust:last-child a.crumb { font-weight: bold; }
.breadcrumb .crust:hover a.crumb {
        background-color:{vb:stylevar blocksubhead_background.backgroundColor}; /* this is the background color of the crumb when it's hovered */
        color:{vb:stylevar linkhover_color}; /* likewise, this is the color of the crumb's link when hovered */
        text-decoration:{vb:stylevar linkhover_textDecoration};
}
.breadcrumb .crust:hover .arrow span {
        border-left-color:{vb:stylevar blocksubhead_background.backgroundColor}; /* this is the color of the "arrow" when hovered. It should be identical to the `.breadcrumb .crust:hover a.crumb` background value */
}


.breadcrumb .crust b.lastcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 500px;

}

> Open Template Group `Navigation / Breadcrumb Templates`
>> Open Template `navbar`

### FIND ###

Code:
<div id="breadcrumb" class="breadcrumb">        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>


### REPLACE WITH ###
Code:
<div class="bread_box">        <nav>
                <fieldset class="breadcrumb">
                        <span class="crumbs">
                                <vb:if condition="$vboptions['hometitle']">
                                        <span class="crust"  itemscope="itemscope"  itemtype="http://data-vocabulary.org/Breadcrumb">
                                                <a href="{vb:raw  vboptions.homeurl}" class="crumb" rel="up" itemprop="url"  alt="{vb:rawphrase home}">
                                                        <span itemprop="title">{vb:raw vboptions.hometitle}</span>
                                                </a>
                                                <span class="arrow">
                                                        <span>&gt;</span>
                                                </span>
                                        </span>
                                </vb:if>
                                {vb:raw navbits.breadcrumb}
                                {vb:raw navbits.lastelement}
                        </span>
                </fieldset>
        </nav>
</div>


>> Open template `navbar_link`
### REPLACE _EVERYTHING_ WITH ###
Code:
<vb:if condition="$show['breadcrumb']">        <span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
                <a href="{vb:raw nav_url}" class="crumb" rel="up" itemprop="url">
                        <span itemprop="title">{vb:raw nav_title}</span>
                </a>
                <span class="arrow">
                        <span>&gt;</span>
                </span>
        </span>
<vb:else />
        <span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
                <b class="lastcrumb">
                        <span itemprop="title">{vb:raw nav_title}</span>
                </b>
        </span>
</vb:if>

 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
ProxyUniverse Resident Proxies! Pia, ABC Proxy - Selling quality proxies || 911 proxy alternative VPS & Dedicated Server 1
Admin Hướng dẫn thêm breadcrumbs vào theme không cần plugin Wordpress 0
Admin Yilmaz - Quote Read More vB4 Add-ons 0
Admin [DBTech] DragonByte Classifieds v1 (vB4) Add-ons 0
Admin ibProArcade Navbar vb4.2 Add-ons 0
Admin [DBTech] Two-Factor Authentication (vB4) Add-ons 0
Admin [DBTech] Twitch.Tv Integration (vB4) Add-ons 0
Admin Mark Threads Unread (vB4) Add-ons 0
Admin Missing Style Chooser In vB4 Styles Vbb tutorial 0
Admin [DBTech] Tweet Poster v1 (vB4) Add-ons 0
Admin [DBTech] vB Optimise v2 (vB4) 2.5.3 Add-ons 0
Admin [DBTech] Original Poster In Postbit v1 (vB4) Add-ons 0
Admin [DBTech] Default Staff Signature v1 (vB4) Add-ons 1
Admin [DBTech] Download Button In Attachments v1 (vB4) Add-ons 0
Admin [DBTech] Username Change v1 (vB4) Add-ons 0
Admin [DBTech] vBSuper PM's - Private Message Manager v1 (vB4) Add-ons 0
Admin [DBTech] Banned From Reporting (vB4) Add-ons 0
Admin [DBTech] Logo Rotation v1 (vB4) Add-ons 0
Admin [DBTech] vBSearch Log v1 (vB4) Add-ons 0
Admin [DBTech] Guest PM Notice (vB4) Add-ons 0
Admin VB4 - Mobile Phone / iPhone / PDA Detection and Style Assignment Add-ons 7
Admin [HOW TO - vB4] Two column forum/sub-forum setup via CSS only Vbb tutorial 0
Admin [DBTech] Redirect Banned Users v1 (vB4) Add-ons 0
Admin [DBTech] Advanced Censor Options v1 (vB4) Add-ons 0
Admin [DBTech] Member Map (vB4) Add-ons 0
Admin Block Censored Words in Posts by BOP5 VB4 Add-ons 0
V Bring Back "Go" Button for VB4 by BOP5 (ForumJump/Quick Navigation menu) Vbulletin 0
S Automatic thread tagger for vb4 Vbb tutorial 0
Admin Step by Step guide to speed up your VB4 OR VB3 Add-ons 0
Admin ChangUonDyU Advanced Statistics VB4 6.0.1 Add-ons 0
Admin General Forum Info VB4 Add-ons 0
Admin vB4 Live Topic by LancerForHire, LLC. Add-ons 0
Admin VB4.xx floating film strip for the Forum Home Add-ons 0
Admin vB4 Error Pages Add-ons 0
Admin [DBTech] Dragonbyte Gallery v1 (vB4) Add-ons 0
Admin [DBTech] Advanced @User Tagging v3 (vB4) Add-ons 0
Admin [DBTech] DragonByte vBForms v1 (vB4) Add-ons 0
Admin [DBTech] vBArcade (vB4) Add-ons 0
Admin [DBTech] vBNavTabs - Navbar Tabs / Tab Management v1 (vB4) Add-ons 0
Admin IPB3 Style to vB4 Style vbb 1
Admin vB Optimise v2 (vB4) Add-ons 2
Admin [vB4 Admin Style] violet Style vbb 0
Admin Change Threads/Posts Owner/Date for vB4 Add-ons 0
Admin Must Vote in Poll to Post in Thread VB4 Add-ons 2
Admin [DBTech] vBActivity & Awards v3 (vB4) Add-ons 0

Similar threads

New posts New threads New resources

Back
Top