This is what I have done, for breadcrumb.
I used Breadcrumb NavXT plugin (so the function is bcn_display.
In my child theme functions.php I put
add_action( 'chaplin_entry_header_start', 'add_breadcrumb' );
add_action( 'chaplin_archive_header_start', 'add_breadcrumb' );
function add_breadcrumb() {
if(function_exists('bcn_display') && !is_page('PAGE_ID1') && !is_page('PAGE_ID2')):?>
<div class="breadcrumbs-wrapper" style="background-color: #FFFFFF">
<div class="breadcrumbs color-secondary" typeof="BreadcrumbList" vocab="https://schema.org/">
<?php bcn_display();?>
</div>
</div>
<?php endif;
}
( In the function I removed breadcrumb from two pages, but this is just something I needed).
And in CSS:
/* breadcrumb */
.home .breadcrumbs-wrapper {
display: none;
}
.breadcrumbs-wrapper {
margin-top: 0rem;
margin-bottom: 1.5rem;
}
.breadcrumbs {
font-size: 1.5rem;
font-weight: 100;
font-style: italic;
}
Bye