• Resolved Vortex11

    (@vd11)


    I’ve used CSS to hide all but the title and I’ve used your plugin to properly remove the Home link (by leaving those fields blank). Even though I’ve hidden the parent page link, it is still rendering. Is there any way, with your plugin, to hide this? I just need the parent page link to be removed. Thanks!-

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anthony Hortin

    (@ahortin)

    Unfortunately, the way that WooCommerce displays its breadcrumbs means that it’s not very easy to style or modify.

    By ‘parent page link’ I presume you mean the homepage link? You could use some css like the following, but it would still leave the separator before the first ‘crumb’. Unfortunately, there’s nothing that can be done about that.

    
    .woocommerce-breadcrumb a[href="insert-your-homepage-url-here"] {
        display: none;
    }
    
    Thread Starter Vortex11

    (@vd11)

    I actually meant the link that displays between the Home page link and the page title, IF there is a parent page or it’s in a category. I’ve killed the problem for most pages by removing parent status’ but for the shop, it’s still inserting the category link which, while invisible, does still partially render which not only knocks my title out of alignment but shows up as an extra H1 tag which is an SEO issue (since I used your plugin to transform the page title into a header since I killed the actual page title).

    I did try your snippet since it targets the specific link but it had no effect since it’s technically set to display none elsewhere. I also tried to use to change the margin in order to hide it but no luck ??

    Anyway, I know this is beyond the bounds of your plugin or support but it’s frustrating the crud out of me. It would almost be worth just creating a new page template at this point.

    BTW, I did look into using some of the hooks Woocommerce provides for it’s breadcrumbs but couldn’t find anything to specifically hide the links that way. Will look into ti again tho.

    Anyway, sorry about the rant but I was working on it when I saw your reply so… I vented. ??

    If you’re curious, you can see what I mean here – https://vortexdesign.com/product/wordpress-website-security-tune-up/

    Plugin Author Anthony Hortin

    (@ahortin)

    Thanks for explaining this further. I can understand your pain. It’s unfortunate that the Breadcrumbs aren’t more flexible. I find it ridiculous that they aren’t even created using an unordered list, like a typical menu.

    I’m going to close this one since it’s not a issue with plugin per se, but more of an issue with the lack of flexibility in the WooCommerce Breadcrumbs.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove parent page link’ is closed to new replies.