Attributes are applied to products, not categories or subcategories.

(Not sure what you are trying to achieve here).

Could we have a link to your site to see how it's structured? Then we may have a better idea of what advice to offer...