Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Dec 2008 at 12:09 UTC
Updated:
23 Mar 2015 at 10:30 UTC
Could we have an option not display the quick tab block title ?
Comments
Comment #1
Flying Drupalist commentedDo it in your block interface.
Comment #2
spiffyd commentedYes the option in the interface allows the title to be hidden, however, I noticed that it doesn't hide it via CSS by setting the title's H2 to display:none;
As a result, on some themes, the H2 region is still shown. I had to manually insert block-specific CSS to hide the H2 title region of that block to accomplish this.
Suggestions?
Comment #3
pasqualleThen it should be a problem with Drupal core or your theme.
Does it happen only with quicktab blocks?
Comment #4
spiffyd commentedNot sure how to test if this issue is exclusive to QT blocks.
However as mentioned in my blog post below, a simple display:none to the h2 property should do the trick.
http://spiffyd.com/blog/theming-quick-tabs-drupal
Comment #5
pasqualleQT block is a simple block. It uses the core block.tpl.php file, and as I see from it
the h2 property should not be displayed when there is no subject.
Just simply hide the title (on the blocks admin interface) of any other (non QT) block used on your site, and check if it displays the h2 property. If it displays also then it is not a QT issue..
Comment #6
spiffyd commentedAha! Turns out my theme didn't have the if-endif statements in the block.tpl.php. Adding it should do the trick!
Comment #7
pasqualleI am glad that helped, and it isn't a bug in the module ;)
Comment #9
drupalusering commentedProblem with using block interface to manage quicktab titles, particularly hiding them is that if you have 50 or so quicktabs and none of them display a title in the list it is really hard to navigate in administration of QT's. Therefore it would be great if quicktabs module added a class to all h2 block titles. Say h2 class = quicktab_tit
...
Comment #10
pasqualle@drupalusering: create a block-quicktabs.tpl.php file in your theme directory and add any class you want..
Comment #11
drupalusering commented@Pasqualle :) dont know how i missed block template, thanks that works for me
Comment #12
pasqualleComment #14
rot3r1just go to block manager and set the title of your quick tab to "" ...very simple!!!