1
votes

I've been trying to add a custom fields into a custom content type, everything is good except the new field is not displayed though it appears in the HTML with display: none; attributes, also new field isn't excluded from the display.

What is the problem here?

Sultan

2
When you look in the CSS file, from where does the display: none; come from ? Wich file ? - Haza
It comes as the attribute of a parent element - sultan
this is how it looks <div class="hide-field alpha grid-16" style="display:none;"> - sultan

2 Answers

0
votes

Have you used CSS to hide another CCK field somewhere?

It sounds like a CSS rule was meant to hide another CCK field but was not specific enough and is now accidentally hiding fields you want to see.

For example, if you have a CSS rule of:

div.field {
  display: none;
}

meaning to hide a different field, it will hide all your CCK fields. (it may not be div.field of course)

0
votes

If it has display: none it's not showing up. Change it do display: block or just remove it.