This topic has 17 replies, 5 voices, and was last updated 9 years, 5 months ago ago by Robert Hall
I want to keep my page title and lose the breadcrumbs. Or at least move the breadcrumb underneath the page title. How would I do both? I noticed that with the new version of the theme there are many changes. If I turn off breadcrumbs I lose my page title being displayed across the top.
Link is in the private area.
Hello,
You can remove breadcrumbs with this code in custom.css:
.breadcrumbs {
display: none !important;
}
Regards,
Eva Kemp.
thank you. would this go in the custom.css file or the areea in the theme options?
Hello,
You can add the code in Theme Options > Custom CSS > Global Custom CSS.
Regards,
Eva Kemp.
awesome. thank you. had a couple of other posts that are more urgent for me. does this new global inside theme options negate the custom.css?
Hello,
Custom.css file works too. You can write style modifications either in custom.css file or in Theme Options > Custom CSS section. If you use custom.css file make sure you enabled it in Them Options > Custom CSS > Enable Custom CSS file > On.
Regards,
Eva Kemp.
But how does one change the breadcrumbs to be under the pagetitle instead of on top of it?
Hello @KlaasKoopman,
To swap the breadcrumbs you need edit the file wp-content/themes/royal/framework/theme-functions.php (line 772) and swap the code <?php etheme_breadcrumbs(); ?>
and <h1 class="title"><span><?php echo et_get_the_title(); ?></span></h1>
. We recommend to make changes in the child theme https://codex.wordpress.org/Child_Themes not to lose modifications after theme update.
Best regards,
Jack Richardson.
Dear Jack,
thank you for responding. I changed the code, saved it and uploaded the new folder with just the theme-functions.php to the child-theme. Doesn’t change anything?
It’s located at: wp-content/themes/royal-child/framework/theme-functions.php
Hello @KlaasKoopman,
As I see breadcrumbs are shown under page title:
http://storage2.static.itmages.com/i/15/0625/h_1435258907_6217106_4d468d492f.png
Please clear your browser cache and check again.
Best regards,
Jack Richardson.
Dear Jack,
Strange thing is, it indeed looks right now, but in the code it’s still:
<div class=”col-md-12 a-center”>
<?php etheme_breadcrumbs(); ?>
<h1 class=”title”><span><?php echo et_get_the_title(); ?></span></h1>
</div>
How is this possible?
Hello @KlaasKoopman,
Have you changed any files in the theme? We may try to reupload the files to get the breadcrumbs position back.
Best regards,
Jack Richardson.
Jack, at the site the backcrumbs are good as they are, but what I don’t understand is why I did not edit theme-functions.php and still the breadcrumbs are showing correctly now?
Hello @KlaasKoopman,
Sorry, but we can’t know what modifications were made. Perhaps you made some changes in Theme Options. The only way to check is to reupload theme files and check breadcrumbs after that.
Best regards,
Jack Richardson.
Jack, new question in the same category. How do I change the breadcrumbs on the category and product pages. See private content for link
Anyone?
Hello @KlaasKoopman,
Please try to add this code in custom.css file
.single-product .page-heading .title,
.archive .page-heading .title{
position: relative;
top: -20px;
}
.single-product .woocommerce-breadcrumb,
.archive .woocommerce-breadcrumb {
position: relative;
top: 25px;
}
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up