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

ArnyVee

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?
 
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.
 
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

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

With:
Code:
<h3 class="nodeTitle">{$category.title}</h3>
 
Top Bottom