Special offer block - strange behaviour

Posts: 47
Joined: 09/20/2007
Uber Donor

The special offer block somewho doesn't realy display what it should. When it is shown on pages every things is messed up. It looks total wired with IE7, below the catalog grid everything is well formated, but on any other page everything looks strange. The text is benear or besides the images. Any Idea? thanks!

Posts: 47
Joined: 09/20/2007
Uber Donor

ok, solved on my own... the CSS file will be not included into the block if it is shown at a "non catalog page" for example the "terms and conditions" . You have to include the CSS like this

function theme_uc_catalog_special_products(){
drupal_add_css(drupal_get_path('module', 'uc_catalog') .'/uc_catalog.css');
$product_types = module_invoke_all('product_types');

everythings fine now. cheers Smiling