Okay
  Public Ticket #1428919
Adding Breadcrumbs
Closed

Comments

  • Phil w started the conversation

    Hey,

    Site: Store.Caro.ca

    I am using Oxygen's third header type (I don't want to use header type 1) and i want to add breadcrumbs to my site. I've tried installing the Breadcrumbs NavXT plugin but was confused when nothing happened.

    I noticed in Oxygen's Header.php file, there was this code on line 61:

        <div class="main<?php echo HEADER_TYPE == 1 && HAS_SLIDER ? ' hide-breadcrumb' : ''; ?>">
                <?php get_template_part('tpls/breadcrumb'); ?>
    

    I'm not sure if this code is conflicting with plugins or with me being able to custom code breadcrumbs in. Any help with this would be awesome.

    I don't have a lot of experience in coding! Dumb down version would be appreciated.

  • [deleted] replied

    Hi Phil,

    You can add this custom PHP code in oxygen/tpls/breadcrumb.php after line 9:


    ?>
    <div class="top-first" id="top-breadcrumb" style="margin-top: -20px; margin-bottom: 10px;">
    <div class="row">
    <div class="col-sm-12">
    <?php dimox_breadcrumbs(true, true); ?>
    </div>
    </div>
    </div>
    <?php

    It should look like this:


    (view large version)

    The result:


    (view large version)

    I hope it works fine for you.