WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. muaythai
    Member
    Posted 2 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!

    http://wordpress.org/extend/plugins/breadcrumbs/

  2. rGalindo05
    Member
    Posted 1 year 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.
    Example:

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

    Hope that helps!

  3. rGalindo05
    Member
    Posted 1 year 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

About this Topic