Removing Title from Goofy Theme

amrit09 - March 14, 2007 - 18:43

I am using the goofy theme and i like the look of it. The bar for in a node in the title makes it look really good.

One problem i have however is the title that appears underneath the breadcrumb. I would prefer for this not to be shown as it takes up space and doesn't look the best.

Is there any way i can do this?

AMRIT

You could edit goofy.theme

themegarden.org - March 15, 2007 - 13:24

You could edit goofy.theme (located in goofy theme folder).
In the latest version of Goofy theme for 4.7 drupal (goofy-4.7.x-1.x-dev.tar.gz) you could make next changes:
original:

...
  if ($title) {
    $output .= theme("breadcrumb", drupal_get_breadcrumb());
    $output .= "<h2 class=\"title\">$title</h2>";
  }
...

comment out code at line 84:
...
  if ($title) {
    $output .= theme("breadcrumb", drupal_get_breadcrumb());
    //$output .= "<h2 class=\"title\">$title</h2>"; // line 84 -  changed
  }
...

or maybe better:
...
  //if ($title) {
    $output .= theme("breadcrumb", drupal_get_breadcrumb());
    //$output .= "<h2 class=\"title\">$title</h2>";
  //}
...

---
themegarden.org Drupal Themes Preview

Use a subtheme to change parts of the themeing

fgm - November 26, 2008 - 21:50

Now that Goofy is based on PHPtemplate (6.2 versions), you can create a subtheme integrating this change.

http://drupal.org/node/226507

 
 

Drupal is a registered trademark of Dries Buytaert.