Tagged: breadcrumbs, shop, woocommerce
Hello Enfold’s team,
I would like to know how to remove the “Shop” in my woocommerce breadcrumbs. I installed the demo shop in localhost and I would like something like this :
Home > Product Category > Product
instead of something like this :
Home > Shop > Product Category > Product
I searched for some snippets and in some topics but I couldn’t find one :(.
Thank you in advance for your help,
Dimitri.
Hey dimitrilpc,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.single-product .breadcrumb-trail span:nth-child(4), .single-product .breadcrumb-trail span:nth-child(3) {
display: none;
}
Best regards,
Yigit
Did not work :-(
Thank you Yigit, it works for me!
But when I’m in category pages and sub-category pages, “Shop” is still display. Is there a way to not display it on those pages?
Best regards,
Dimitri
Hi,
Please try changing the code to following one
.single-product .breadcrumb-trail span:nth-child(4), .single-product .breadcrumb-trail span:nth-child(3),.woocommerce.archive .breadcrumb-trail span:nth-child(4), .archive.woocommerce .breadcrumb-trail span:nth-child(3) {
display: none;
}
If that does not help, please post the link to your page :)
Best regards,
Yigit
Hi Yigit,
It works. Thank you for the help!
Best,
Dimitri
Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit