Archived topic
Yoast Breadcrumbs not showing
11 replies · Started by michael on August 26, 2017
Yoast Breadcrumbs are enabled but not showing on posts or pages?
Have you added their required code into the hook you want it to show up?: https://generatepress.com/forums/topic/breadcrumbs-by-yoast-how-to-exclude-particular-pages/#post-356732
Ok git it! However, "Home" is showing up on my front Home page. How do I exclude breadcrumbs from blog postspage (the site front page), or static page (the page assigned to display the site front page)?
Thanks again
There might be some settings related to that inside Yoast :)
Tom I dont see any settings in Yoast to remove breadcrumbs from a static homw page"page. Only from Showing in a "Blog page".
I added a snippet to the front page in Simple CSS #breadcrumbs{display: none;}. It works but there should be a better solution. Right?
Ahh, are you wanting to remove the entire breadcrumb area on the home page?
If so, do this:
.home #breadcrumbs {
display: none;
}
hi, i removed Breadcrumbs on homepage. But the background still there. how can i remove it?
screenshot:http://prntscr.com/gp2bmd
i use this code for hook
<?php if ( function_exists('yoast_breadcrumb') ) { ?>
<div class="grid-container grid-parent">
<div class="page-header">
<?php yoast_breadcrumb('<p id="breadcrumbs">','</p>'); ?>
</div>
</div>
<?php } ?>
please help, thank you
Replace this: <div class="grid-container grid-parent">
With this: <div class="grid-container grid-parent breadcrumb-container">
Then use this CSS instead:
.home .breadcrumb-container {
display: none;
}
Looks like it might be the header padding?
https://docs.generatepress.com/article/header-padding/
If this doesn't work can you provide a link to your site? Thanks!
It's working! Thank you
No problem!