Yoast Breadcrumbs
How to get rid of first separator? (3 posts)

  1. muaythai
    Posted 3 years ago #

    I don't want "Home" to show in the breadcrumb so I deleted the text for it in the Settings panel, but there's just one problem... now the breadcrumb starts with the separator. Is there any way to delete it? Thanks!


  2. rGalindo05
    Posted 2 years ago #

    Dude I was going crazy with this issue as well.
    First off download Yoast's SEO plugin which includes Breadcrumbs, its the newest version.
    Next in the internal links section of the Seo dashboard view on the 'Separator Between Breadcrumbs' field but in your separator with a span tag that has a class.
    For example <span class="separator">|</span> .

    Then just grab it with your css and display none.

    .separator:first-child { display: none; }

    Hope that helps!

  3. rGalindo05
    Posted 2 years ago #

    Actually this was my final css 1st line removes 'home' second line removes first >>

    #breadcrumbs > span > span:first-child { display: none; }
    #breadcrumbs > span > span:nth-child(2) { display: none; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast Breadcrumbs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic