This topic has 9 replies, 5 voices, and was last updated 9 years, 5 months ago ago by Jack Richardson
Greetings
I would like to remove the two span elements that reside in the div with classname: “categorie-mask”. Cannot find the template php file that generates these html elements. How do I get this done? I’ve read somewhere I need to copy the content of the php file of the main theme into my child theme.
Many thanks in advance
Lucas
Hello,
Could you please provide us with link to the page and show us screenshot where is this span with class “categorie-mask”?
Regards,
Robert Hall.
Here is a screenshot that I uploaded on imgur
site URL: http://www.therobinstore.com/product-categorie/uniformscholen/
I would like to keep the category name and remove the span elements ‘Category’ and ‘more’.
Thanks
Lucas
Hello,
Please add this code in custom.css file:
.categories-mask span {
display: none !important;
}
How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
Hi
I will try this solution though I have a small question left. I thought I was supposed to use the royal child theme to make adjustments to my theme. Will the custom.css file be overridden when I update my royal theme?
Thank you already for your quick support 🙂
Lucas
Hello,
No, don’t worry, you not lose all changes in custom.css file.
Regards,
Robert Hall.
Hello,
custom.css file will not be overridden on theme update.
Regards,
Stan Russell.
It worked. Thanks a lot for your support! +1
Lucas
Hello,
You are welcome.
Best regards,
Jack Richardson.
Tagged: best selling, categorie-mask, html, removing, themes, woocommerce
The issue related to '‘Removing html from div categorie-mask’' has been successfully resolved, and the topic is now closed for further responses