Formatting display output for a module that is a block - countdown

monnaliza - August 14, 2008 - 02:12

I basically just want all the text to show up in bold. I can bold the text but not the numbers/variables/array in the countdown, they are being set somewhere (!) as < e m >. Clearly I am not a programmer, but if I could just find the right spot I figure I just change the < e m > to bold/strong or whatever.

I promise I tried searching drupal site before I posted (!) and I have really tried and tried to figure out where and/or what file to edit (the countdown module, blocks, the theme, etc?)

I am using the Pixture theme, and the countdown module is a block in the left sidebar.

Thanks for your help. You can see what I'm talking about: http://www.monnaliza.com/

If someone could just point

monnaliza - August 14, 2008 - 19:25

If someone could just point me in the right direction, I'd appreciate it.

Thanks!

Styling contents of block generated by the Countdown module

o4tuna - December 18, 2008 - 16:42

This is not a very elegant solution, but maybe it will help. (This has been tested on a Drupal 5 site that only uses one Countdown module block.)

You can do it with CSS styling. First, find the primary stylesheet for your theme (in my case, it is < style.css > ), and then add the following code at the bottom:

/* add style to Countdown module's contents */
div#block-countdown-0 {
font-weight: bold;
}

Works great on my Drupal 6.6 site.

emiles - February 19, 2009 - 16:48

Thank you 04tuna for this helpful additional code.

 
 

Drupal is a registered trademark of Dries Buytaert.