Home / Forums / DynamiX Support / reposition breadcrumbs (at the bottom right before the footer)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • César Berardini

    I want to move the breadcrumbs from their default position (between the header and the page content) to the bottom, right before the footer, like Apple.com and other sites do.

    I don't think editing the #sub-tabs in style.css is enough, but in addition is necessary to modify some php file to reposition the breadcumbs so they appear after .inner-page and right before the bottom.

    Andy, can you provide some guide?



    You would need to remove the sub-header code which is found in the DynamiX/header.php and move it to the footer.php – you'll probably need to adjust the CSS as well but that should be a good start for you. 

    The code looks like this – 

    if(!$DYN_hidebreadcrumbs) {


    <div id="sub-header">

    <div id="sub-tabs">


    if(class_exists('bbPress') && is_bbpress()) {


    <?php } else { ?>


    <?php if (function_exists('DYN_breadcrumbs')) DYN_breadcrumbs(); ?>

    <?php if(function_exists('wpsc_has_breadcrumbs'))

    if(wpsc_has_breadcrumbs()) { ?>

    <div class='breadcrumb'>

    <li class="home"><a href='<?php echo get_option('product_list_url'); ?>'><?php echo get_option('blogname'); ?></a></li>

    <?php while (wpsc_have_breadcrumbs()) : wpsc_the_breadcrumb(); ?>

    <?php if(wpsc_breadcrumb_url()) :?>

    <li><a href='<?php echo wpsc_breadcrumb_url(); ?>'><?php echo wpsc_breadcrumb_name(); ?></a></li>

    <?php else: ?>

    <li><?php echo wpsc_breadcrumb_name(); ?></li>

    <?php endif; ?>

    <?php endwhile; ?>

    <?php if ($wp_query->is_single === true && get_post_type() == 'wpsc-product') : ?>

    <li class="current_page_item"><?php echo wpsc_the_product_title(); ?></li>

    <?php endif; ?>


    <?php } ?>


    <?php } ?>





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

You must be logged in to reply to this topic.