Closed (fixed)
Project:
Nice Menus
Version:
6.x-1.3
Component:
CSS
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2009 at 16:21 UTC
Updated:
5 Nov 2009 at 11:39 UTC
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 :
/* 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
Comment #1
candelas commentedi 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'] = ' ';
Comment #2
geneatwell commentedGo 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.
Comment #3
candelas commentedthanks 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.
Comment #4
candelas commentedComment #6
anne-pierre commentedThanks, this is what I needed. It also works on the Genesis theme.