• I put this snippet in header.php:

    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
        <?php if(function_exists('bcn_display'))
        {
            bcn_display();
        }?>
    </div>
    
    <ul class="breadcrumbs">
        <?php if(function_exists('bcn_display_list_multidim'))
        {
            bcn_display_list_multidim();
        }?>
    </ul>
    
    <ul class="breadcrumbs">
        <?php if(function_exists('bcn_display_list_multidim_children'))
        {
            bcn_display_list_multidim_children();
        }?>
    </ul>

    The first div, which uses bcn_display(), displays correctly.

    The next two uls do not display correctly. The PHP calls work and generate the correct nested lis and uls. But, the CSS to make them Windows-Vista-like two-dimensional breadcrumbs is not being applied, so they are rendered as bulleted lists.

    Version information:

    • Breadcrumb NavXT version 6.6.0
    • Breadcrumb NavXT Multidimension Extensions version 2.6.3
    • WordPress 5.6
    • PHP 7.4.13
    • Theme: Twenty Sixteen version 2.3

    Let me know if you need more info to reproduce the problem.

    • This topic was modified 4 years, 3 months ago by Peter Froud. Reason: use < and > for the names of html tags
    • This topic was modified 4 years, 3 months ago by Peter Froud. Reason: using < and > did not work, remove them
  • The topic ‘CSS not applied – bcn_display_list_multidim() works but appears as normal’ is closed to new replies.