• I can’t get the category or subcategories to appear in the WooCommerce breadcrumbs. The current breadcrumbs show Home >> Product >> (the last thing I clicked). The last thing I clicked could either be a category, subcategory, or actual product. No hierarchy is appearing. I also want to remove “Product” from the breadcrumb and replace it with Shop. I’ve tried numerous fixes that I’ve googled, but nothing is working.

    https://wordpress.org/plugins/woocommerce/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    What theme is this? Some have their own breadcrumb scripts – it may not be the core one. Not aware of any issues with core breadcrumbs.

    Thread Starter finkdb

    (@finkdb)

    My bad. I think there is a conflict with my theme. I need some help here. The theme breadcrumbs work correctly except for the “shop” (i.e., woocommerce pages). The shop breadcrumbs function correctly but look differently than the rest of the breadcrumbs throughout the site. I tried updating the woocommerce.css file but, for some reason, it will accept some of the new formatting, but not all of it. For example, I’m trying to change the a color from #777 to #b70052. I’ve commented out the color: #777 line and inserted a replacement one but it won’t accept it and update the color. The deliminator is also different. I believe the default one in woocommerce is >> but the “shop” pages are showing /.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Need to see this in context.

    Thread Starter finkdb

    (@finkdb)

    The URL with the Shop breadcrumbs are here: http://encouragedinheart.org/wordpress-dev/shop-test-2/ . This is the test site for the live site. If you click anywhere else within the site, outside of the shop area, you will see the breadcrumbs functioning correctly.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    They are being generated by different things. Notice how the separators differ? One is a WC breadcrumb and one is theme I assume? Or a plugin?

    Thread Starter finkdb

    (@finkdb)

    I see that they are being generated by two different things. I don’t have any plugins that would modify the breadcrumbs. I’ve tried to modify the woocommerce.css file to try and make it look like the theme breadcrumbs, but it isn’t accepting the css change for some reason.

    Thread Starter finkdb

    (@finkdb)

    Evidently, the customized woocommerce.css file I have in my child theme is not being loaded. I checked the source of the website and the default WooCommerce css files are being loaded before my child theme style.css. I have the following code in the style.css which references my customized woocommerce.css file.

    @import url(“woocommerce.css”);

    I have the woocommerce.css file at the root level of my child theme. Am I doing something incorrectly?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thats probably fine. But look at the source; one is .breadcrumb one is .woocommerce-breadcrumb

    Definitely generated by different plugins.

    Thread Starter finkdb

    (@finkdb)

    Yes, the .breadcrumb is created by the theme. I’m attempting to simply change the .woocommerce-breadcrumb to look like the .breadcrumb by changing the woocommerce.css file. For some reason though, my customized woocommerce.css file is not being loaded. That seems to be my main issue here.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Breadcrumbs’ is closed to new replies.