The div wrapper for the ical icon (line 39 of date_ical.module. theme_date_ical_icon function) is hard to override with custom css.

Please replace it with a more common div with a class.

function theme_date_ical_icon($variables) {
  $url = $variables['url'];
  $variables = array(
    'path' => drupal_get_path('module', 'date_ical') . '/images/ical-feed-icon-34x14.png',
    'title' => t('Add to calendar'), t('Add to calendar'),
  );
  if ($image = theme('image', $variables)) {
    return '<div style="text-align: right;"><a href="' . check_url($url) . '" class="ical-icon" title="ical">' . $image . '</a></div>';
  }
}

Comments

karens’s picture

Status: Fixed » Closed (fixed)

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