During my new Joomla 1.6 website, Joomla adds an h1 tag using the text "Articles" in most articles utilized from the link within the search engine results from the search module. Exactly the same happens using the articles linked in the Latestnews module, however in this situation, the written text within the h1 added is "Home".

I'm not going these h1 headers! Please, any suggestion?

This can be done by modifying web site overrides for the component.

Web site overrides exist underneath the /html/ subfolder of the template. e.g. If you want to alter the titles for search products (com_search) and you are while using rhuk_milkyway template, adjust the files found under here:


Open the php files, (default.php) after which customize the titles by changing the H1 tags with your personal tags.

In case your template doesn't contain any override files or folders, you are able to copy default the search overrides out of this folder:


and paste them to your template html folder:


after which perform the modifications as pointed out above.

Read more about overrides here, although this content were written for 1.5, the concepts still make an application for 1.6:

  1. http://docs.joomla.org/Understanding_Output_Overrides
  2. http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

I removed these header using JavaScript, just checking for those h1 header and looking out the unwanted words within their contents, than setting their display property to none.

window.onload = function() {
    var h1s = document.getElementsByTagName('h1');
    for(var i=0; i<h1s.length; i++) {
        var home = h1s[i].innerHTML.substr(2, 4);
        var articles = h1s[i].innerHTML.substr(2, 8);
        if( home == "Home" || articles =="Articles")
            h1s[i].style.display = "none";

Even though it does not appear a really elegant solution, in is effective and efficient used. Besides, when we think about these h1 as really relating the page content and also the decision of not showing than is simply a template matter, this option would be quite reasonable. The JavaScript code is really as the next:

I really hope it will likely be helpful for some individuals. Indeed I can not realise why there's not 1000's of other Joomla! customers frantically attempting to eliminate theses header.