-
AuthorPosts
-
May 27, 2015 at 6:59 pm #283625
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!
May 27, 2015 at 11:45 pm #283961Hello 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 folderwp-content/themes/x-child/framework/views/icon/
Please let us know if this works out for you.
May 28, 2015 at 4:46 pm #285068SO that allows me to use the slider below the masthead in page options to add a static image?
Perfect, trying this today!
Thank you!
May 29, 2015 at 1:24 am #285492Yes, it is allowed/possible.
You’re welcome.
May 29, 2015 at 1:39 pm #286077Fantastic. 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!
May 30, 2015 at 4:02 am #286643You are most welcome!
We are glad we were able to help you out. -
AuthorPosts