How to remove ":" (colon) when displaying field name? I created a custom content type with some text fields. In the view settings of that content type I defined both to appear and as well their titles (names of the fields) to be displayed above the content of the fields respectively.

But how can I remove the trailing colon of the titles? Is there a way of modifying the way field names are display just for certain content types? I do not want this altered site wide (e.g. for all fields of all content types).

PS: I'm already using the "views" module to define a special layout for this custom content type. Probably there is a way to carry out these changes with the help of the "views" module and a custom layout template?

/edit/
I did not create a view (as with the "views" module) to display that content but used Drupal's own content type view configuration (maybe called "display"). I'm working with a localized Drupal and retranslating the different words.

Remark: Using Drupal 7.10 with Views 7.x-3.0-rc3
Note: The OP is not talking about Views. (In Views you can uncheck a box that says Place a colon after the label).

The accepted Drupal method is by copying the core field.tpl.php file into your theme directory and manually removing the colon from the file.

modules/field/theme/field.tpl.php
sites/all/themes/[mytheme]/field.tpl.php


In Drupal 7 this is on line 55:

from:

&lt;div class="field-label"&lt;?php print $title_attributes; ?&gt;&gt;&lt;?php print $label ?&gt;:&amp;nbsp;&lt;/div&gt;


to:

&lt;div class="field-label"&lt;?php print $title_attributes; ?&gt;&gt;&lt;?php print $label ?&gt;&amp;nbsp;&lt;/div&gt;


In order to do this in a specific content type you first copy field.tpl.php to your theme, then duplicate it, adding the machine name of your content type, and remove the colon from the content type specific version.

sites/all/themes/[mytheme]/field.tpl.php
sites/all/themes/[mytheme]/field--[content-type].tpl.php


Note: the double hyphen (--) is not a typ-oh.

Read up on theme suggestions for more. Using suggestions you can target just a specific field in this content type, just the field globally, all fields in the content type, or all fields in all content types. Or handle every combination differently.