Read before updating: How to Update Kunena Templates - More detail

Hide sub categories in the top level category

paxx's Avatar Topic Author
Senior Member Senior Member
  • Posts: 41
  • Thanks: 0

Hide sub categories in the top level category

9 years 11 months ago
#2797
Hi
Is there an option to hide the sub categories (child category) in the top level category?
The reason for this is I'm using a picture in the top level category and if there are a lot of sub categoies in this top level category then it looks not so nice.
If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.

Attachments:

Please Log in or Create an account to join the conversation.

Huyen Nguyen's Avatar
Moderator Moderator
  • Posts: 558
  • Thanks: 140

Re: Hide sub categories in the top level category

9 years 11 months ago
#2799
Hi paxx,

Create a style file with named custom.css, paste below CSS rules to that file.
Code:
body #Kunena .full-view .kthead-child { display: none; }

Create a folder with named "css" in the "[root]/media/kunena/" path on your site. Copy or move the custom.css file to that folder. After finish back-to front-end and reload.

Note
Above solution can be solve your problem but we will try to find an other great solution for this problem. We will update on this thread when finish.

Regards
Huyen Nguyen
Nice Theme Store's Support Department.
Support email: 9themestore[at]gmail.com
** Please post your site url here if it has been lived **
The following user(s) said Thank You: paxx

Please Log in or Create an account to join the conversation.

paxx's Avatar Topic Author
Senior Member Senior Member
  • Posts: 41
  • Thanks: 0

Re: Hide sub categories in the top level category

9 years 11 months ago
#2819
Hi
Thanks a lot for this prompt reply.
It's much appriciated.

Cheers
Stephen
If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.

Please Log in or Create an account to join the conversation.

Raven's Avatar
New Member New Member
Developer
  • Posts: 14
  • Thanks: 0

Re: Hide sub categories in the top level category

9 years 9 months ago
#3054
I added this code to my main joomla template css.
Code:
#Kunena div.kthead-child { display: none; }

Please Log in or Create an account to join the conversation.

Huyen Nguyen's Avatar
Moderator Moderator
  • Posts: 558
  • Thanks: 140

Re: Hide sub categories in the top level category

9 years 9 months ago
#3056
Hi Raven,

Please let's us know if your site back. I can't see your forum.

Thanks
Huyen Nguyen
Nice Theme Store's Support Department.
Support email: 9themestore[at]gmail.com
** Please post your site url here if it has been lived **

Please Log in or Create an account to join the conversation.

Raven's Avatar
New Member New Member
Developer
  • Posts: 14
  • Thanks: 0

Re: Hide sub categories in the top level category

9 years 9 months ago
#3057
Hi Huyen,

I have it figured out. thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.392 seconds