hello
thanks for the menus, it is just what i need.
i have read the documentation and i am unable to hide the title of a menu on the header.
i tried :

  • the block had no title but it shows the menu title
  • i added on the css
     /* Hide nice-menu-hide-title Added by faing.net.tc*/
    .nice-menu-hide-title {
    display: none;
    }

    but not luck.
    i think garland theme must have change something because i read people was suscessfull geting not title.

    so i think something is missing or it is me that i dont know theming menus :)
    has anybody been able to do it? thanks

Comments

candelas’s picture

i am watching with firefox 3 on ubuntu and epiphany 2.22

i can hack the code in nice_menus.module but i much prefer to learn how to do it on css because i will not have to do it each time i have to upgrade drupal.

if i change line 180 from

$block['subject'] = ''. check_plain($subject) .'';

to
$block['subject'] = ' ';

geneatwell’s picture

Go to /drupal/admin/build/block and "configure" the menu you want to work with and in the block title you need to enter <none> with the < > included. Then click on the "Save Block" button on the bottom of the page. No CSS required and future upgrades will be painless.

It took me a while to figure that out and it's written below the title block if I took the time to read it.

candelas’s picture

thanks a lot! it works and i have not to touch the nice_menus.module code :)
now i go to see if i can make it go to the logo bottom by css and also center it.

candelas’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

anne-pierre’s picture

Thanks, this is what I needed. It also works on the Genesis theme.