[SOLVED]Hide forum category

View previous topic View next topic Go down

Solved [SOLVED]Hide forum category

Post by Tweak on 2/6/2015, 1:27 pm

avatar
Tweak
Member
Member

Posts : 2
Reputation : 0
Join date : 2015-02-04

View user profile
Hello,

I would like to ask if it's possible to hide a specific category from forum index on punbb forums, with javascript or so?

Back to top Go down

Solved Re: [SOLVED]Hide forum category

Post by _Twisted_Mods_ on 2/6/2015, 5:38 pm

avatar
_Twisted_Mods_
Founder
Founder

Posts : 101
Reputation : 2
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 31
Location : USA

View user profile
add this as the description

Code:

<div id="hidethiscat">
</div><script>jQuery(function(){jQuery('#hidethiscat').parents('.main-content').prev('.main-head').remove();jQuery('#hidethiscat').parents('.main-content').remove();});</script>

Back to top Go down

Solved Re: [SOLVED]Hide forum category

Post by Tweak on 2/7/2015, 6:55 am

avatar
Tweak
Member
Member

Posts : 2
Reputation : 0
Join date : 2015-02-04

View user profile
Thank you, solved. Cheers

Back to top Go down

Solved Re: [SOLVED]Hide forum category

Post by Guest on 2/7/2015, 7:14 am


Guest
Guest


Topic solved, locked & moved to the archives.

Back to top Go down

Solved Re: [SOLVED]Hide forum category

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum