Hide SubCategories from Home/Category view


#1

Hello all,

Trying to hide the subcategories links from the home category view!

I’ve tried the solutions I’ve found on the forum but they don’t seem to work (using the default theme)

Could you please tell me how I can hide the subcategories links from the home category view?

Thank you!!!


(Jay Pfaffman) #2

Have you tried the “hide category from home page” category setting?


#3

Thank you very much for your response! Yes, I’ve tried that too, doesn’t work for subcategories apparently!


(Jay Pfaffman) #4

So you don’t want any links to the subcategory? I think you could do that with CSS.


#5

On the homepage, under each category, I don’t want to show the subcategories!
I tried the CSS that I found here as solutions from old threads but they don’t work!


#6

So, for example, here:

I don’t want “theme, Votung, Broken-plugin, solved, extras, chat-integration” and “translations, SSO” to be shown under the categories - I still want to show the subcategories in boxes within the category though!


(Joe) #7

I vaguely recall a setting which allows you to disable this on a per category basis - but I could be wrong.

If it comes down to CSS,

I think this will hide subcategories from the category list but keep the box-style subcategories at the top in the category page.

.category-list .subcategories {
    display: none;
}

subcategories visible inside category page.


#8

It worked like a charm!!! Thank you very much!


(Joshua Rosenfeld) #9

This topic was automatically closed after 47 hours. New replies are no longer allowed.