• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How do I make categories 'not clickable' or disable the links?


Well-known member
I would like to remove the ability of the categories to be a 'link'. Preferably, I'd like to use something to place in the extra.css as opposed to commenting out in the code.

How can I disable the links on the categories?


Formerly CyclingTribe
As far as I understand it EXTRA.css is for additional styling/overriding existing css elements - I suspect you'll need to edit the template to achieve what you want.

Chris D

XenForo developer
Staff member
You cannot control the function of HTML elements with CSS. Only their style.

It's a very simple template edit.

In template node_category_level_1

<h3 class="nodeTitle"><a href="{xen:link categories, $category}">{$category.title}</a></h3>
<h3 class="nodeTitle">{$category.title}</h3>