• Hi,

    How do I hide a category from the category dropdown? I don’t want to show but I use it to categorize the stores. Is it possible to hide it?

    thanks

Viewing 1 replies (of 1 total)
  • Hi there, thank you for writing,

    You could use some CSS hacks for this. Consider the following example (see screenshot).

    In this example, there are two categories being shown in the front-end. As you can see in the HTML markup, the categories are <li> elements with a data-value attribute.

    You can target the data-value attribute via CSS and make any of these categories invisible. In the example screenshot, this CSS rule would cause the first category to be hidden in the dropdown:

    li[data-value="366"] {
        display: none;
    }

    I hope that helps.
    Best regards,

    • This reply was modified 1 month, 2 weeks ago by farroyo.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.