Removing html from div categorie-mask - by lucasp

This topic has 9 replies, 5 voices, and was last updated 9 years, 6 months ago ago by Jack Richardson

  • Avatar: lucasp
    lucasp
    Participant
    June 2, 2015 at 12:20

    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

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    June 2, 2015 at 12:26

    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.

    Avatar: lucasp
    lucasp
    Participant
    June 2, 2015 at 12:37

    Here is a screenshot that I uploaded on imgur
    screenshot

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    June 2, 2015 at 12:49

    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.

    Avatar: lucasp
    lucasp
    Participant
    June 2, 2015 at 13:00

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    June 2, 2015 at 13:18

    Hello,

    No, don’t worry, you not lose all changes in custom.css file.

    Regards,
    Robert Hall.

    Avatar: stan
    Stan Russell
    Participant
    June 2, 2015 at 13:19

    Hello,

    custom.css file will not be overridden on theme update.

    Regards,
    Stan Russell.

    Avatar: lucasp
    lucasp
    Participant
    June 2, 2015 at 13:42

    It worked. Thanks a lot for your support! +1

    Lucas

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 2, 2015 at 13:58

    Hello,

    You are welcome.

    Best regards,
    Jack Richardson.

  • Viewing 9 results - 1 through 9 (of 9 total)

The issue related to '‘Removing html from div categorie-mask’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.