By feeper on
I am looking for a straight forward way of removing the title from the menu blocks. I want to keep the background image of the header title, I just don't want the text.
Can somebody provide some clear cut steps on how to do this? I found some details by searching, but nothing really clear and to the point.
Thanks,
Kevin
Comments
=-=
which theme are you using ?
you can inspect your themes style.css file or use the firefox browser with the firebug addon and add
visibility: hiddenwhere necessary.Combustion
I have looked through the CSS and didn't see anything, this one is only for layout. I do use firefox with the firebug addon very frequently. What is the visibility: hidden supposed to go? I would like to try that.
Thanks!
I've been playing with the header file and couldn't figure this out.
All I had to do was add visibility:hidden to the CSS.
Thanks!
For some blocks you can
For some blocks you can remove the title by entering
<none>in the Title field.Another option is to use this css
Display: none;to affect that specific title (typically with CSS descendants).www.inkwire.net
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
Feel foolish for asking
I would like to know where to implement this change?
=-=
have you tried going to administer -> blocks ? edit for the block in question and trying the
<none>method ?I am talking about the defaults...
The ones in question are the default ones. I know the none option will work on additional ones. I am using 4.7 too if that makes a difference.
If <none> is not an option,
If
<none>is not an option, then try the css I suggested.arp
www.inkwire.net
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
=-=
ok after installing and looking at the combustion theme the easiest way to remove the title from ALL blocks.
go into your theme folder and edit block.tpl.php
FIND:
<?php print $block->subject ?>DELETE IT
RESAVE block.tpl.php
REUPLOAD block.tpl.php
CSS Option is better in the long run...
Yeah, hacking the PHP file will do it.
OR, if your theme doesn't have the block.tpl.php file, you can copy the one present in the stock bluemarine theme and hack it in the same manner.
HOWEVER, the CSS option, while requiring more effort (knowing how to actually code, finding the appropriate tag for each block title... easy if you're using CSSEdit on OS X or something similar), is likely better in the long run, as it leaves room for further customization, should you change your mind in the future, or at least have one h2 title to identify the menu itself with either type or a background image.
Yeah, it's easier to remove that line from the PHP file, but it just seems a bit hasty.