Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #283625

    mcheck
    Participant

    Is it possible to move the breadcrumbs below an image or row of content?

    For instance, we would like the header to be top, then an image directly under the masthead (slider is fine), THEN the breadcrumbs. Essentially the order would be:

    Masthead
    Full width image
    Breadcrumbs
    Content
    Footer
    ———

    Using icon and X 3.2.4, and child theme

    Thanks!

    #283961

    Rue Nel
    Moderator

    Hello There,

    Thanks for posting in! To accomplish your desired changes, since you already have a child theme, please create a new file in your local computer and please insert this code into that file.

    <?php
    
    // =============================================================================
    // VIEWS/ICON/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Icon.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
    
      <?php x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php x_get_view( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
      </header>
    
      <?php x_get_view( 'global', '_slider-below' ); ?>
    
      <?php x_get_view( 'icon', '_breadcrumbs' ); ?>

    Save this file as wp-header.php and upload this file to your server in your child theme’s folder wp-content/themes/x-child/framework/views/icon/

    Please let us know if this works out for you.

    #285068

    mcheck
    Participant

    SO that allows me to use the slider below the masthead in page options to add a static image?

    Perfect, trying this today!

    Thank you!

    #285492

    Lely
    Moderator

    Yes, it is allowed/possible.

    You’re welcome.

    #286077

    mcheck
    Participant

    Fantastic. This worked perfectly. I added a slider that was essentially a static image and used the page’s settings to place it below the masthead.

    Thanks again!

    #286643

    Rue Nel
    Moderator

    You are most welcome!
    We are glad we were able to help you out.