Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #573074

    Hi, I notice that the breadcrumbs seems to always put the home page as the first part of the breadcrumbs even when I select a page that has no parent.
    I selected the home page and blog options in the Enfold settings.
    A parent page, called “Courses”, now displays the breadcrumbs like this: home/courses – it should only say courses
    The blog page does this: home/blog/blog to display the blog page. When I click on a post it displays it like this: home/blog/blog/post instead of simply “blog/post”

    How can I set the breadcrumbs so that it follows my structure correctly. Please note, the “courses” page is NOT a child of “home”, its status is “no parent”.
    Plugins: WPML and No Category Base (to get rid of “category” permalink in posts)

    • This topic was modified 8 years, 9 months ago by lernerleben.
    #573426

    Hi lernerleben!

    It doesn’t matter if it’s a child or not, the home link will always display. Your wanting to remove it? Add this to your custom CSS.

    .breadcrumb-trail > *:nth-child(2), .breadcrumb-trail > *:nth-child(3) {
        display: none;
    }

    Cheers!
    Elliott

    #573739

    Thanks for the code.

    #574317

    Hi,

    Glad we could help :-)

    Thanks,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.