MyBB Community Forums

Full Version: Switching Breadcrumb Styles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Glad you could sort it out - sorry for the delay on answering/providing help.
Well, I thought I fixed it but im still having that display issue, ive noticed when I add the new code to
nav
nav_bit
navbit_active

that it adds

 

like a hundred times? is there any way to stop that from happening?

in other words,

I add this code
<span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="{$navbit['url']}" class="crumb" rel="up" itemprop="url">
            {$navbit['name']}
        </a>
        <span class="arrow">
            <span>&gt;</span>
        </span></span>

when I save it turns into this mess,
<span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">

<a href="{$navbit['url']}" class="crumb" rel="up" itemprop="url">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$navbit['name']}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="arrow">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>&gt;</span>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
It's because you're copying it directly from the forum. Paste it into Notepad or something similar first.

Or better yet, turn off Codepress in the Admin CP (Home -> Preferences).
Thanks Tecca! Fixed it, took out all the spacing now works fine, and looks awesome! thanks for your help everyone!
Pages: 1 2