• Resolved crispybishop

    (@crispybishop)


    In the settings for NavXT, NO CHANGES WORK in the Separator field. At all. Currently it reads > which should be a single “greater than” sign…but my separator is actually a / backslash. No changes to the separator field will change this backslash, either.

    My theme, Native Church, integrates NavXT naturally with the following code:

    <?php $header_options = get_post_meta($id,'imic_pages_Choose_slider_display',true); 
    						$height = get_post_meta($id,'imic_pages_slider_height',true);
    						$height = ($height == '') ? '150' : $height;
    						$breadpad = $height - 60;
    						if($header_options==0||$header_options=='') { ?>
                            <?php 
    						echo '<style type="text/css">' . "\n";
    						echo '.body ol.breadcrumb{padding-top:'.$breadpad.'px;}';
    						echo "</style>" . "\n"; ?>
                    <div class="nav-backed-header parallax" style="background-image:url(<?php echo $src[0]; ?>);">
                        <div class="container">
                            <div class="row">
                                <div class="col-md-12">
                                    <ol class="breadcrumb">
                                        <?php
                                        if (function_exists('bcn_display_list')) {
                                            bcn_display_list();
                                        }
                                        ?>
                                    </ol>
                                </div>
                            </div>
                        </div>
                    </div>

    Any ideas why my plugin won’t let me change the separator? You can view an example of my breadcrumbs (including backslashes) here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter crispybishop

    (@crispybishop)

    Never mind! After posting the code above, I realized I was implementing display_list, which defaults to the backslash. I changed the code to just bcn_display and it follows my separator now.

    Plugin Author John Havlik

    (@mtekk)

    Just as a heads up, if you were getting a separator with bcn_display_list() then you had some CSS that was injecting it for you. That function wraps each breadcrumb with a li tag rather than inject a separator. So if you still wanted the list markup, you could use bcn_display_list() and change your theme’s CSS that is injecting the separator.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot Change Breadcrumb Separator’ is closed to new replies.