How to override the H1 element from module?
This is the sample code that will overwrite the title page of Drupal, you have to locate within the template.php file of the active theme Drupal website.

function YOUR_THEME_NAME_preprocess_page(&amp;$vars) {
  $node = menu_get_object();
  if (isset($node-&gt;nid) &amp;&amp; $node-&gt;type == 'your-content-type-name') {
    $custom_title= "My custom title on node: ". $node-&gt;title;
    $vars['title'] = $custom_title;
  }
}