• Hi there,

    It seems you have added a breadcrumb in the blog page and in the post pages in the 1.43 version.

    I have already added a breadcrumb with yoast in a header.php in a child theme.
    Now I have two breadcrumbs in the blog page and in the post pages.

    So how is-it possible to delete the breadcrumb you added or maybe a better solution how to add this breadcrumb in all pages ?

    Thanks for your help.

    Catherine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Cathernie,

    Yes we added built-in compatibility with the Yoast SEO breadcrumbs. To hide it and use your own instead, add this CSS code to Appearance > Customize > Additional CSS from dashboard.

    
    .sydney-breadcrumbs {
       display: none; 
    }
    

    This won’t break the one you setup.

    Regards,
    Kharis

    Thread Starter catheg

    (@catheg)

    Thx Kharis.
    This additional css fixes my problem.

    But just in case I would like to use the Sydney-breadcrumbs. I have a problem, it’s only displayed in blog page, and posts not in the pages.

    So what do I have to do to have the Sydney-breadcrumbs in the entire site ?

    Thanks for your answer.

    Regards.

    Catherine.

    Hello there,

    You’re right. We placed it exclusively in posts archive and single post pages. To display it site wide and retain the .sydney-breadcrumbs style, you’ll need to add this code to your child theme’s functions.

    
    add_action('sydney_before_content', 'sydney_child_breadcrumb');
    function sydney_child_breadcrumb() {
      yoast_breadcrumb('
      <p class="sydney-breadcrumbs custom">','</p>
      ');
    } 
    

    and add this CSS code to Appearance > Customize > Additional CSS from dashboard.

    
    .sydney-breadcrumbs.custom {
       display: block; 
    }
    

    Regards,
    Kharis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breadcrumbs issues’ is closed to new replies.