Micha
03-02-2007, 12:25 PM
To fix this you need to unpack headlinesFix.zip archive from attachment and upload via FTP to your web server, overwriting all the files that already exist there.
Next you need to edit your HTML_function.php.
Around line 2059, right after
if ($ajax){
add this line of code
$featured_news_HTML = '';
In your templates/style.css file you need to replace existing styles for headlines with this styles:
/********* HEADLINES BOX (styles for Ajax headline rotation ***********/
#headline { margin: 0px 6px 0px 6px;}
#headline_body{ height: 155px;}
#headline_body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
font-variant: normal;
line-height: 1.3em;
color: #333333;
padding-right: 5px;
}
#headline_image { margin: 0px 6px 0px 6px; border: none;}
.box_body {background-color: #ECECEC;}
.box_headline h2 {
color: #555555;
background-color: #ECECEC;
font-weight: bold;
font-size: 14px;
padding: 4px;
}
.headlineBox {
padding: 5px;
background-color: #ECECEC;
}
.player {
clear: both;
display: block;
background: url(../img/play_bg.gif) right no-repeat;
padding: 0px 0px 9px 0px;
*padding: 0px 0px 7px 0px;
}
.player span a {
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
padding-right: 6px;
margin-left: 280px;
}
This is tested in Internet Explorer 6, 7, Mozilla Firefox 2 and Opera 9.
Next you need to edit your HTML_function.php.
Around line 2059, right after
if ($ajax){
add this line of code
$featured_news_HTML = '';
In your templates/style.css file you need to replace existing styles for headlines with this styles:
/********* HEADLINES BOX (styles for Ajax headline rotation ***********/
#headline { margin: 0px 6px 0px 6px;}
#headline_body{ height: 155px;}
#headline_body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
font-variant: normal;
line-height: 1.3em;
color: #333333;
padding-right: 5px;
}
#headline_image { margin: 0px 6px 0px 6px; border: none;}
.box_body {background-color: #ECECEC;}
.box_headline h2 {
color: #555555;
background-color: #ECECEC;
font-weight: bold;
font-size: 14px;
padding: 4px;
}
.headlineBox {
padding: 5px;
background-color: #ECECEC;
}
.player {
clear: both;
display: block;
background: url(../img/play_bg.gif) right no-repeat;
padding: 0px 0px 9px 0px;
*padding: 0px 0px 7px 0px;
}
.player span a {
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
padding-right: 6px;
margin-left: 280px;
}
This is tested in Internet Explorer 6, 7, Mozilla Firefox 2 and Opera 9.