Parent terms in hierarchical vocabularies are currently styled with <strong> tags, which makes it hard to customize the layout and styling. This patch uses a class and custom CSS instead, to add flexibility.

In my case, I would like to change the indentation of parent terms—this patch makes that easier.

Note: some of the files included in this module use Windows line endings, which makes patching difficult : (.

Comments

jcisio’s picture

Status: Needs review » Fixed

I manually applied the patch. Thanks dboulet!
I didn't know that the line encoding is Windows. I'll convert it into Linux one.

jcisio’s picture

I've committed another patch to add ID to the fieldset containers http://drupal.org/cvs?commit=435488, allow you to, for example, highlight certain subset of terms.

dboulet’s picture

Nice, the only thing that I would add would be to run the id through form_clean_id().

jcisio’s picture

Done.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dennis605’s picture

Status: Closed (fixed) » Active

That's really a great module,
but the above code doesn't work for me. I try to show checkboxes in a certain layout. Does anybody can imagine why this is not applied to my layout?
Also the appearance in FF and Chrome differs.
I thought i could solve this with the above approach, but i does not work. It seems that the CSS is just ignored.

dboulet’s picture

Status: Active » Closed (fixed)

Hi dennis605,

All the code presented in this issue has been committed to the project—use the latest version of the module to make use of it.

If you need help with styling your form, please try looking for help in the forums or open a new issue.