Since updating to version 6x-1.4, primary and secondary menu links placed in the 'banner' and/or 'header top' now show "> Secondary Links" or "> Primary Links" above the actual menu tab. I'm a fairly new user so this may be a noob problem, but I did not notice this before updating and the problem does not appear in other themes.

Comments

shutslar’s picture

I copied the block.tpl.php to block-menu-secondary-links.tpl.php and deleted the following lines from the new tpl:

<?php if ($block->subject): ?>
<?php $firstword = wordlimit($block->subject, 1, "");
$block->subject = str_replace($firstword, "<span class=\"first-word\">" . $firstword . "</span>", $block->subject); ?>
<h2 class="title block-title"><?php print $block->subject ?></h2>
<?php endif;?>

This was around line 17 of the original block.tpl.php file.

I did the same for the other menus (I created each menu because I was doing something slightly different for each one). You may be able to get by with just a single block-menu.tpl.php file.

Hope this helps.

jeremycaldwell’s picture

Status: Active » Fixed

That works, but an easier fix would be to configure the specific block and leave the block title field empty. That would give it a name in the block system but have no title.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.