Jump to content

How to hide description


sanl

Recommended Posts

Hellau,

 

I would like to know how to hide description from category links. For example, http://sportassveikata.lt/ if you bring on your mouse on (left column -> category) "MAISTO PAPILDAI MASĖS DIDINIMUI" you will see a long, long description. I think it`s useful for seo, but I don`t want to see it on a:hover , how to change it?

 

It is really annoying if you want to select category.

 

And other problem if you bring your mouse on background and wait for a second, you will see: sveikata, papildai, svorio metimas. How to hide this?

 

Thank you!

Link to comment
Share on other sites

in this case you have to edit blockcategories module template file (.tpl)

 

open category-tree-branch.tpl file located in module directory and from:

<a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a>

 

remove this:

title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}"

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...