Can't see the block-tile in the block "Announcement" - SOLVED

manfred2008 - November 3, 2008 - 13:14
Project:Announcements
Version:6.x-1.2
Component:Performance
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have a small problem with wonderfull module announcement
I have defined in "Administer > Site building > Blocks" a block title for the announcement block. But in the annoucement- block, there is the block title not shown. There is space for it, but no text.

The rest works perfect.

What can be the reason?

Thank you

Manfred

#1

NancyDru - November 3, 2008 - 15:03
Assigned to:manfred2008» Anonymous
Status:active» postponed (maintainer needs more info)

The module does not title the block itself so the text used in the blocks admin screen can be used. This works for me. IF it is not working for you, would it be possible for you to tel me what you have there?

#2

manfred2008 - November 3, 2008 - 18:08

Thank you for the very fast reply.

Yes, I understood, this is what I expected: The text which I entered in the blocks admin screen as name should be the block title. But I have in the block no title (see screenshot enclosed)

Thank you

Manfred

AttachmentSize
Screenshots.pdf 92.31 KB

#3

NancyDru - November 3, 2008 - 23:55

I'm just don't have any idea at the moment; it works fine for me. I am using the -dev version, but there's not much difference.

Can you check the HTML and see if the title is coming out at all? If it's there, then maybe there's something in your CSS that hides it.

#4

manfred2008 - November 4, 2008 - 09:07

Yes, you are right, the HTML code shows the block title (see short attachment)

So it has to be a mistake in any CSS file

Which .css file do I need to change? In the announcements.css I have not changed anything. But in that file I can not find the definitions for h2 class.
Where have the definions to be defined and how looks the code? (I am only a very beginner in the CSS-topics)

Manfred

AttachmentSize
html code.pdf 3.53 KB

#5

manfred2008 - November 4, 2008 - 11:57
Title:Can't see the block-tile in the block "Announcement"» Can't see the block-tile in the block "Announcement" - SOLVED
Status:postponed (maintainer needs more info)» fixed

In the meantime I solved the problem by myself.

Finally I added in the announcements.css the definition for the background color of h2. Now I can see the text (which was in white color).
However - I can not change the text color. This value seems to be overwritten by the general color definition of the style I am using.

Thank you very much for your fast response!

Manfred

#6

NancyDru - November 4, 2008 - 14:56

This is another reason why Firefox is growing in popularity. The Firebug add-on can show you which CSS file is setting which attributes.

The same place you changed the background color can be used to set the text color. If a later CSS is overriding that, you could add the "!important" attribute. h2 {color: #000000 !important;}

#7

System Message - November 18, 2008 - 15:02
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.