Just trying to move the label to beneath the numbers. The label is not span ed off in the code so normal css cannot isolate it. I have been looking for a little while now and am having trouble locating the declaration within the module. What file and line if you can are you declaring the html tags for the items?

CommentFileSizeAuthor
countdown.jpg81.45 KBjmomandown

Comments

blackice2999’s picture

Hi,

the markup of the countdown comes from the javascript library you need to use the "layout" parameter in the javascript library. the best point to inject them at the moment is to overwrite the theme function in your theme or module and put your layout parameter into the option array

See also: http://keith-wood.name/countdown.html#layouts

function theme_jquery_countdown($variables) {
 $id = $variables['id'];
 $options = $variables['options'];
 $content = $variables['content'];
 $id = drupal_html_id($id);
 
 // The layout parameter here...
 $options['layout'] = '{sn} {sl}, {mn} {ml}, {hn} {hl}, and {dn} {dl}';
 
 jquery_countdown_add('#'. $id, $options);
 return '<div id="' . $id . '" class="jquery-countdown">' . $content . '</div>';
}
blackice2999’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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